详细说明:1、数据库安装:
本例采用SQL Server数据库(同时也支持MySQL、Oracle数据库)。首先需要通过SQL Server的企业管理器工具创建数据库equipment。
登录SQL Server的"查询分析器",确认是否存在equipment数据库,如果不存在,执行附带光盘中的equipment.sql。
数据库需要配置ODBC,在ODBC中的数据源名称为equipment
2、把源程序目录从光盘上拷贝到硬盘上,取消文件夹及其子目录和文件的只读属性。如果您安装的是JBuider X,那么可以直接打开equipment文件夹下的工程,查看代码并进行调试。
3、在使用Struts时需要用到 jakarta-struts-1.1.rar 中的库。已解压在"jakarta-struts-1.1"文件夹中,需要在工程配置中加入,可以参考视频“配置Struts”。
equipment.db.sql:SQL脚本
equipment.db.bak:SQL Server数据库备份文件
文件列表(点击判断是否您需要的文件):
7-1
...\开发使用的程序[JBuilder]
...\........................\equipment
...\........................\.........\bak
...\........................\.........\...\com
...\........................\.........\...\...\landsoft
...\........................\.........\...\...\........\equipment
...\........................\.........\...\...\........\.........\controller
...\........................\.........\...\...\........\.........\dao
...\........................\.........\...\...\........\.........\model
...\........................\.........\...\equipment
...\........................\.........\...\.........\WEB-INF
...\........................\.........\...\.........\.......\struts-config.xml~1~
...\........................\.........\...\.........\.......\tiles-def.xml~1~
...\........................\.........\...\.........\.......\web.xml~10~
...\........................\.........\...\.........\.......\web.xml~11~
...\........................\.........\...\.........\.......\web.xml~12~
...\........................\.........\...\.........\.......\web.xml~13~
...\........................\.........\...\.........\.......\web.xml~14~
...\........................\.........\...\.........\.......\web.xml~15~
...\........................\.........\...\.........\.......\web.xml~16~
...\........................\.........\...\.........\.......\web.xml~17~
...\........................\.........\...\.........\.......\web.xml~18~
...\........................\.........\...\.........\.......\web.xml~19~
...\........................\.........\...\.........\.......\web.xml~20~
...\........................\.........\...\.........\.......\web.xml~21~
...\........................\.........\...\.........\.......\web.xml~22~
...\........................\.........\...\.........\.......\web.xml~23~
...\........................\.........\...\.........\.......\web.xml~44~
...\........................\.........\...\.........\.......\web.xml~45~
...\........................\.........\...\.........\.......\web.xml~46~
...\........................\.........\...\.........\.......\web.xml~47~
...\........................\.........\...\.........\.......\web.xml~48~
...\........................\.........\...\.........\.......\web.xml~49~
...\........................\.........\...\.........\.......\web.xml~50~
...\........................\.........\...\.........\.......\web.xml~51~
...\........................\.........\...\.........\.......\web.xml~52~
...\........................\.........\...\.........\.......\web.xml~53~
...\........................\.........\...\.........\.......\web.xml~6~
...\........................\.........\...\.........\.......\web.xml~7~
...\........................\.........\...\.........\.......\web.xml~8~
...\........................\.........\...\.........\.......\web.xml~9~
...\........................\.........\classes
...\........................\.........\.......\com
...\........................\.........\.......\...\landsoft
...\........................\.........\.......\...\........\equipment
...\........................\.........\.......\...\........\.........\controller
...\........................\.........\.......\...\........\.........\dao
...\........................\.........\.......\...\........\.........\model
...\........................\.........\.......\...\........\.........\util
...\........................\.........\.......\...\........\filter
...\........................\.........\.......\Generated Source
...\........................\.........\.......\jsp cache
...\........................\.........\.......\.........\equipment
...\........................\.........\.......\.........\.........\manager
...\........................\.........\.......\.........\.........\.......\Asset
...\........................\.........\.......\.........\.........\.......\Assettype
...\........................\.........\.......\.........\.........\.......\Frommode
...\........................\.........\.......\.........\.........\.......\Lend
...\........................\.........\.......\.........\.........\.......\Model
...\........................\.........\.......\.........\.........\.......\Position
...\........................\.........\.......\.........\.........\.......\Purpose
...\........................\.........\.......\.........\.........\.......\Usedate
...\........................\.........\.......\.........\.........\.......\Users
...\........................\.........\.......\.........\.........\package cache
... ...
7-1
...\开发使用的程序[JBuilder]
...\........................\equipment
...\........................\.........\bak
...\........................\.........\...\com
...\........................\.........\...\...\landsoft
...\........................\.........\...\...\........\equipment
...\........................\.........\...\...\........\.........\controller
...\........................\.........\...\...\........\.........\dao
...\........................\.........\...\...\........\.........\model
...\........................\.........\...\equipment
...\........................\.........\...\.........\WEB-INF
...\........................\.........\...\.........\.......\struts-config.xml~1~
...\........................\.........\...\.........\.......\tiles-def.xml~1~
...\........................\.........\...\.........\.......\web.xml~10~
...\........................\.........\...\.........\.......\web.xml~11~
...\........................\.........\...\.........\.......\web.xml~12~
...\........................\.........\...\.........\.......\web.xml~13~
...\........................\.........\...\.........\.......\web.xml~14~
...\........................\.........\...\.........\.......\web.xml~15~
...\........................\.........\...\.........\.......\web.xml~16~
...\........................\.........\...\.........\.......\web.xml~17~
...\........................\.........\...\.........\.......\web.xml~18~
...\........................\.........\...\.........\.......\web.xml~19~
...\........................\.........\...\.........\.......\web.xml~20~
...\........................\.........\...\.........\.......\web.xml~21~
...\........................\.........\...\.........\.......\web.xml~22~
...\........................\.........\...\.........\.......\web.xml~23~
...\........................\.........\...\.........\.......\web.xml~44~
...\........................\.........\...\.........\.......\web.xml~45~
...\........................\.........\...\.........\.......\web.xml~46~
...\........................\.........\...\.........\.......\web.xml~47~
...\........................\.........\...\.........\.......\web.xml~48~
...\........................\.........\...\.........\.......\web.xml~49~
...\........................\.........\...\.........\.......\web.xml~50~
...\........................\.........\...\.........\.......\web.xml~51~
...\........................\.........\...\.........\.......\web.xml~52~
...\........................\.........\...\.........\.......\web.xml~53~
...\........................\.........\...\.........\.......\web.xml~6~
...\........................\.........\...\.........\.......\web.xml~7~
...\........................\.........\...\.........\.......\web.xml~8~
...\........................\.........\...\.........\.......\web.xml~9~
...\........................\.........\classes
...\........................\.........\.......\com
...\........................\.........\.......\...\landsoft
...\........................\.........\.......\...\........\equipment
...\........................\.........\.......\...\........\.........\controller
...\........................\.........\.......\...\........\.........\dao
...\........................\.........\.......\...\........\.........\model
...\........................\.........\.......\...\........\.........\util
...\........................\.........\.......\...\........\filter
...\........................\.........\.......\Generated Source
...\........................\.........\.......\jsp cache
...\........................\.........\.......\.........\equipment
...\........................\.........\.......\.........\.........\manager
...\........................\.........\.......\.........\.........\.......\Asset
...\........................\.........\.......\.........\.........\.......\Assettype
...\........................\.........\.......\.........\.........\.......\Frommode
...\........................\.........\.......\.........\.........\.......\Lend
...\........................\.........\.......\.........\.........\.......\Model
...\........................\.........\.......\.........\.........\.......\Position
...\........................\.........\.......\.........\.........\.......\Purpose
...\........................\.........\.......\.........\.........\.......\Usedate
...\........................\.........\.......\.........\.........\.......\Users
...\........................\.........\.......\.........\.........\package cache
... ...