当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: http://community.csdn.net/Expert/topic/3517/3517995.xml?temp=.2898371这是我的第一个Struts应用,仅仅用于用户注册;注册的用户存入数据库中。
 

 

 ·velocity实例    »显示摘要«
    摘要:  velocity 是一个基于 java 的通用模板工具,来自于 jakarta.apache.org 。 velocity 的介绍请参考 velocity -- java web 开发新技术。这里是它的一个应用示例。 这个例子参照了 php-nuke 的结构, 即所有 http 请求都以 http://www.some.com/xxx/modules?name=xxx&arg......
    摘要:;本程序求n的平方根stack segment stack dw 20 dup(?)stack ends data segmentn db 20hm db 01hi db 01hdata ends codes segment assume cs:codes,ds:data,es:nothing,ss:stackmain: mov ax,data mov ds,ax again:mov al,......


[Struts]配置第一个Struts 应用

http://community.csdn.net/expert/topic/3517/3517995.xml?temp=.2898371

这是我的第一个struts应用,仅仅用于用户注册;注册的用户存入数据库中. 【程序编程相关:Jdk编译Java程序 - applet

【推荐阅读:JavaWebStudio 2005新感

参考«jsp应用开发详解»电子工业出版社 【扩展信息:CASSINI源代码分析(5)——总结

part i/iii

/**

sql server 2000

tomcat 4.1

struts jakarta-struts-1.1

editplus

*/

//----数据库脚本----

create database dba

create table tuser(uname varchar(64),upassword varchar(64),uage int)

//----tomcat 配置----

<context path="/struts" docbase="e:\struts" debug="0"

  reloadable="true" crosscontext="true">

</context>

//----classpath 设置----

//由于我用的是基本文本编辑器,所以struts的jar 文件需要手工配置到classpath中

.;e:\struts\web-inf\classes;e:\struts\web-inf\lib;d:\webset\jdk\lib\dt.jar;d:\webset\jdk\lib\tools.jar;d:\webset\jdk\lib\msbase.jar;d:\webset\jdk\lib\mssqlserver.jar;d:\webset\jdk\lib\msutil.jar;d:\webset\jdk\lib\itextasian.jar;d:\webset\jdk\lib\jxl.jar;e:\struts\web-inf\lib\struts.jar;e:\struts\web-inf\lib\commons-beanutils.jar;e:\struts\web-inf\lib\commons-collections.jar;e:\struts\web-inf\lib\commons-digester.jar;e:\struts\web-inf\lib\commons-fileupload.jar;e:\struts\web-inf\lib\commons-lang.jar;e:\struts\web-inf\lib\commons-logging.jar;e:\struts\web-inf\lib\commons-validator.jar

//----struts 配置-----

e:\struts\web-inf\lib 的目录

2003-06-29 118,726 commons-beanutils.jar

2003-06-29 165,119 commons-collections.jar

2003-06-29 109,096 commons-digester.jar

2003-06-29 22,379 commons-fileupload.jar

2003-06-29 63,980 commons-lang.jar

2003-06-29 31,605 commons-logging.jar

2003-06-29 46,865 commons-validator.jar

2003-06-29 498,051 struts.jar

e:\struts\web-inf\tld 的目录

2003-06-29 8,868 struts-bean.tld

2003-06-29 66,192 struts-html.tld

2003-06-29 14,511 struts-logic.tld

2003-06-29 64,659 struts-nested.tld

2003-06-29 1,631 struts-template.tld

2003-06-29 7,850 struts-tiles.tld

//---- web-inf\web.xml ----

<?xml version="1.0" encoding="iso-8859-1"?>

<!doctype web-app

     public "-//sun microsystems, inc.//dtd web application 2.3//en"

    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

<web-app>


...   下一页
 ·一个简单的将bmp图片转换成tif    »显示摘要«
    摘要:1: go to http://java.sun.com/products/java-media/jai/current.html download java advanced imaging 1.1.2 2: put the lib in your jdk 3: following is the sample i convert my tif to bmp file: import ja......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE