jbuilder9 + struts1.1的配置

<1> 下载Jakarta-struts-1.1.zip包
Jakarta-struts-1.1-src.zip包
 <2> 将Jakarta-struts-1.1.zip(库文件)包解压到/Jbuilder/thirdparty目录下
将Jakarta-struts-1.1-src.zip(源文件)包解压到/jubilder/extras目录下
<3> 启动Jbuilder9.0
<4> 配置library
(a)选择菜单tools/Configure Libraries;
(b)新建一个Libaray;
(c)在New Library Wizard对话框中,
Name 输入:struts1.1,
location可选:JBuilder,
Library paths:add加入../JBuilder9/thirdparty/jakarta-struts-1.1/lib/struts.jar
               …/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-beanutils.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-digester.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-validator.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-fileupload.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/struts-legacy.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/Jakarta-oro.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-logging.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-lang.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-collections.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-pool.jar
(/tomcat/common/lib把commons-pools.jar复制到/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib)
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/postgreql.jar  **
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/mysql-connector-java-3.0.8-stable-bin.jar**
(d)确定创建Library
(e)选中struts1.1,修改Library Settings
Class: /JBuilder9/thirdparty/jakarta-struts-1.1/lib/struts.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-beanutils.jar
…/Jbuilder9/thirdparty/Jakarta-strurs-1.1/lib/commons-digester.jar
Source: /JBuilder9/extras/jakarta-struts-1.1-src/src/share
Documentation /JBuilder9/thirdparty/jakarta-struts-1.1/webapps/struts-documentation.war/api
Required Library:空
Framework:
在Framework下拉框中,选择struts,会自动出现6个taglib。
struts-bean
struts-html
struts-logic
struts-template
struts-tiles
struts-nested
(f)点击OK,创建Library成功。
<5>创建struts工程。
(a)新建或者打开一个JBuilder工程
(b)新建一个WEB应用。按CTRL-N,选择WEB标签,选择Web Application,确定。
(c)在Web Application Wizard中,将出现Struts1.1(Struts1.1),选择打上勾,
输入Name确定,即创建好Struts1.1的工程。
<6> struts1.1工程创建完毕。
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页