在eclipse下整合SSH
接下来的Define SessionFactory properties界面是配置Hibernate的SessionFactory工具类存放位置,不用选择即可,点击Finish,就完成了 对Struts、Spring、Hibernate三个框架的设置。

这里还需要配置Log4J(日志工具),只需将以下两个文件复制到SRC目录下即可 commons-loggingproperties.properties
log4j.properties
至于这两文件里的具体配置就不再多说。
5. 把Spring集成到Struts。需要在Struts-config.xml文件里添加以下字段: <plug-in className=
"org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property=
"contextConfigLocation" value="/WEB-INF/classes/applicationContext.xml"/> </plug-in>
Value值就指定了Spring配置文件applicationContext.xml文件具体包位置。
6. 再就是为数据表添加持久化类。
过程是在MyEclipse DataBase Explorer中打开连接,找到所需的表后,鼠标右键点击表名,选择“Hibernate Reverse Engineering ”,
暂无评价0人阅读0次下载举报文档 Eclipse+++MyEclipse整合+Struts+Spring+Hibernate+简单例子开发_IT/计算机_专业资料。一个简单的SSH整合实例...
Eclipse下struts+spring+hibernate快速入门[1]_计算机软件及应用_IT/计算机_专业... eclipse下快速整合strut... 10页 免费 eclipse 3.4 三大框架(s... 1页 ...
eclipse 环境下整合 struts2+spring+hibernate 开发web应用常见问题及解答_计算机软件及应用_IT/计算机_专业资料。1. org.hibernate.id.IdentifierGenerationException:...
暂无评价0人阅读0次下载举报文档Eclipse + MyEclipse 整合 Struts+Spring+Hibernate 简单例子开发 功能介绍:由用户输入用户的 ID,输出用户的相关信息,包括用户...
Struts+Spring+Hibernate整... 16页 免费 eclipse下快速整合struts1... 10页 免费搜你所想,读你所爱 拒绝盗版,营造绿色文库 如要投诉违规内容,请到百度文库...
暂无评价0人阅读0次下载举报文档 Eclipse + MyEclipse整合 Struts+Spring+Hibernate 简单例子开发_计算机软件及应用_IT/计算机_专业资料。Eclipse + MyEclipse...
struts1+spring+hibernate整合示例_IT/计算机_专业资料。struts1+spring+... 整合Spring+Hibernate 9页 免费 eclipse下快速整合strut... 10页 免费 SSH(...
暂无评价0人阅读0次下载举报文档 基于eclipse的struts2+hibernate3+spring3整合_计算机软件及应用_IT/计算机_专业资料。基于eclipse的struts2+hibernate3+spring...
1/2 相关文档推荐 eclipse下快速整合strut... 10页 免费 struts2与hibernate整合... 9页 免费 eclipse 环境下整合 str... 4页 免费 struts2+spring3+...
暂无评价0人阅读0次下载举报文档 基于eclipse的struts2+hibernate3+spring3整合_计算机软件及应用_IT/计算机_专业资料。基于eclipse的struts2+hibernate3+spring...
热门文档