1.本程序是采用SQL Server2000数据库,数据库名称为test,所用的表格是city,province。
2.本程序采用Ajax+Struts+Hibernate进行省市联动。由于跟人也是刚接触时间不长,所以Ajax写的不是很好,而且Hibernate中,表格采用的是最简单的方式进行的配置。Hibernate中,数据库名称为sa,密码为空
3.初次运行本小程序,只需安装好数据库,然后把本程序导入到Myeclipse中,首先运行show.jsp即可。
没有合适的资源?快使用搜索试试~ 我知道了~
Ajax+Struts+HIbernate实现省市联动
共74个文件
jar:32个
xml:9个
tld:7个
5星 · 超过95%的资源 需积分: 3 43 下载量 32 浏览量
2009-09-12
13:29:42
上传
评论
收藏 7.8MB RAR 举报
温馨提示
本程序是自己在工作过程中遇到的一个问题,自己通过查看资料,学习。终于自己实现了Ajax+Struts+HIbernate省市联动效果。里面有数据库文件,直接导入到Myeclipse即可运行。
资源推荐
资源详情
资源评论
收起资源包目录
Ajax.rar (74个子文件)
Ajax
.project 1KB
DB
test_Data.MDF 1024KB
test_Log.LDF 1024KB
.mymetadata 285B
WebRoot
WEB-INF
struts-tiles.tld 8KB
.struts-config.mex 2KB
web.xml 1KB
struts-config.xml 950B
struts-bean.tld 9KB
tld
taglib.tld 2KB
struts-nested.tld 63KB
struts-html.tld 65KB
struts-template.tld 2KB
struts-logic.tld 14KB
validator-rules.xml 41KB
lib
commons-logging.jar 33KB
commons-digester.jar 147KB
log4j-1.2.11.jar 342KB
antlr-2.7.6rc1.jar 434KB
commons-fileupload.jar 19KB
commons-beanutils.jar 160KB
jta.jar 9KB
hibernate3.jar 1.88MB
commons-lang.jar 53KB
sqljdbc.jar 227KB
jstl.jar 17KB
jaxen-1.1-beta-7.jar 222KB
commons-logging-1.0.4.jar 37KB
xml-apis.jar 121KB
jdbc2_0-stdext.jar 7KB
antlr.jar 344KB
struts.jar 474KB
commons-validator.jar 74KB
commons-collections-2.1.1.jar 171KB
jaas.jar 102KB
ehcache-1.1.jar 41KB
dom4j-1.6.1.jar 307KB
jfreechart-1.0.8a.jar 1.23MB
struts-legacy.jar 9KB
asm.jar 26KB
xerces-2.6.2.jar 987KB
jakarta-oro.jar 62KB
cglib-2.1.3.jar 276KB
commons-collections.jar 160KB
asm-attrs.jar 16KB
jcommon-1.0.12.jar 301KB
standard.jar 343KB
classes
com
yourcompany
struts
dao
SelectDao.class 2KB
action
SelectAction.class 4KB
model
City.hbm.xml 819B
HibernateSessionFactory.class 2KB
Province.hbm.xml 702B
City.class 1KB
Province.class 944B
service
SelectServince.class 2KB
ApplicationResources.properties 87B
hibernate.cfg.xml 982B
index.jsp 4KB
META-INF
MANIFEST.MF 39B
show.jsp 944B
运行说明.txt 362B
.myeclipse
src
com
yourcompany
struts
dao
SelectDao.java 1KB
action
SelectAction.java 3KB
model
City.hbm.xml 819B
City.java 642B
Province.hbm.xml 702B
Province.java 781B
HibernateSessionFactory.java 3KB
service
SelectServince.java 1KB
ApplicationResources.properties 87B
hibernate.cfg.xml 982B
.mystrutsdata 262B
.classpath 3KB
.myhibernatedata 502B
共 74 条
- 1
资源评论
- xash2013-10-18虽然没有用你的这种方式,但是我参考了下你的代码……
- lixiang1235692012-11-29挺好用的,是java的,下的时候没看,唉。。。浪费积分了,我要C#的
pan309231000
- 粉丝: 1
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功