文件名称:s2sh-application-CRUD
-
所属分类:
- 标签属性:
- 上传时间:2013-04-01
-
文件大小:15.39mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.使用struts2+spring3+hibernate3整合实现用户CRUD功能。
2.使用多种配置方式
A.将hibernate从外部导入,使用MySQL作为数据库。
B.将hibernate实体映射集成到spring配置文件中。
3.使用传统的配置文件集成框架。
4.注意以下问题:
A.当使用spring管理struts2的 action时要注意需在struts2的action配置文件中添加
<constant name="struts.objectFactory" value="spring" />,并且需要
将struts2-spring-plugin-2.2.1.jar添加到classpath中去。
B.Demo默认Hibernate的DataSource、HibernateProperties、MappingResources
信息配置到applicationContext.xml文件中。如果使用Hibernate.cfg.xml配置这些
信息,需要在applicationContext.xml文件中将configLocation这个属性去掉注释,
并将其他的property注释或删除。-. To use struts2+spring3+hibernate3 integrated user CRUD functions. 2. Use a variety of configurations A. will hibernate imported from outside, using MySQL as the database. B. hibernate entity mapping integrated into the spring configuration file. 3 using a traditional configuration file integration framework. Note the following question: A. When using spring struts2' s action to pay attention to the need to add in the the struts2 action configuration file <constant name="struts.objectFactory" value="spring" /> And struts2-spring-plugin-2.2.1.jar added to the classpath. The the B.Demo default Hibernate DataSource, HibernateProperties, MappingResources configuration to applicationContext.xml file. If you are using Hibernate.cfg.xml configure these uncomment this attribute in applicationContext.xml file will configLocation, and other property annotation or deleted.
2.使用多种配置方式
A.将hibernate从外部导入,使用MySQL作为数据库。
B.将hibernate实体映射集成到spring配置文件中。
3.使用传统的配置文件集成框架。
4.注意以下问题:
A.当使用spring管理struts2的 action时要注意需在struts2的action配置文件中添加
<constant name="struts.objectFactory" value="spring" />,并且需要
将struts2-spring-plugin-2.2.1.jar添加到classpath中去。
B.Demo默认Hibernate的DataSource、HibernateProperties、MappingResources
信息配置到applicationContext.xml文件中。如果使用Hibernate.cfg.xml配置这些
信息,需要在applicationContext.xml文件中将configLocation这个属性去掉注释,
并将其他的property注释或删除。-. To use struts2+spring3+hibernate3 integrated user CRUD functions. 2. Use a variety of configurations A. will hibernate imported from outside, using MySQL as the database. B. hibernate entity mapping integrated into the spring configuration file. 3 using a traditional configuration file integration framework. Note the following question: A. When using spring struts2' s action to pay attention to the need to add in the the struts2 action configuration file <constant name="struts.objectFactory" value="spring" /> And struts2-spring-plugin-2.2.1.jar added to the classpath. The the B.Demo default Hibernate DataSource, HibernateProperties, MappingResources configuration to applicationContext.xml file. If you are using Hibernate.cfg.xml configure these uncomment this attribute in applicationContext.xml file will configLocation, and other property annotation or deleted.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2/lib/org.springframework.context.support-3.0.1.RELEASE-A.jar
2/lib/org.springframework.core-3.0.1.RELEASE-A.jar
2/lib/org.springframework.expression-3.0.1.RELEASE-A.jar
2/lib/org.springframework.instrument-3.0.1.RELEASE-A.jar
2/lib/org.springframework.instrument.tomcat-3.0.1.RELEASE-A.jar
2/lib/org.springframework.jdbc-3.0.1.RELEASE-A.jar
2/lib/org.springframework.jms-3.0.1.RELEASE-A.jar
2/lib/org.springframework.orm-3.0.1.RELEASE-A.jar
2/lib/org.springframework.oxm-3.0.1.RELEASE-A.jar
2/lib/org.springframework.test-3.0.1.RELEASE-A.jar
2/lib/org.springframework.transaction-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web.portlet-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web.servlet-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web.struts-3.0.1.RELEASE-A.jar
2/lib/persistence.jar
2/lib/slf4j-api-1.5.8.jar
2/lib/slf4j-log4j12-1.5.8.jar
2/lib/struts2-spring-plugin-2.1.2.jar
2/lib/wstx-asl-3.2.7.jar
2/lib/xapool.jar
2/lib/xmlunit-1.2.jar
2/lib/hibernate3.jar
2/lib/com.springsource.org.codehaus.jackson.mapper-1.0.0.jar
2/lib/com.springsource.org.jruby-1.4.0.jar
2/lib/com.springsource.org.junit-4.7.0.jar
2/lib/com.springsource.org.quartz-1.6.2.jar
2/lib/com.springsource.org.testng-5.10.0.jar
2/lib/commons-collections-3.1.jar
2/lib/commons-dbcp.jar
2/lib/dom4j-1.6.1.jar
2/lib/easymock.jar
2/lib/ehcache-1.2.3.jar
2/lib/ejb3-persistence.jar
2/sql.txt
2/lib
2
2/lib/org.springframework.core-3.0.1.RELEASE-A.jar
2/lib/org.springframework.expression-3.0.1.RELEASE-A.jar
2/lib/org.springframework.instrument-3.0.1.RELEASE-A.jar
2/lib/org.springframework.instrument.tomcat-3.0.1.RELEASE-A.jar
2/lib/org.springframework.jdbc-3.0.1.RELEASE-A.jar
2/lib/org.springframework.jms-3.0.1.RELEASE-A.jar
2/lib/org.springframework.orm-3.0.1.RELEASE-A.jar
2/lib/org.springframework.oxm-3.0.1.RELEASE-A.jar
2/lib/org.springframework.test-3.0.1.RELEASE-A.jar
2/lib/org.springframework.transaction-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web.portlet-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web.servlet-3.0.1.RELEASE-A.jar
2/lib/org.springframework.web.struts-3.0.1.RELEASE-A.jar
2/lib/persistence.jar
2/lib/slf4j-api-1.5.8.jar
2/lib/slf4j-log4j12-1.5.8.jar
2/lib/struts2-spring-plugin-2.1.2.jar
2/lib/wstx-asl-3.2.7.jar
2/lib/xapool.jar
2/lib/xmlunit-1.2.jar
2/lib/hibernate3.jar
2/lib/com.springsource.org.codehaus.jackson.mapper-1.0.0.jar
2/lib/com.springsource.org.jruby-1.4.0.jar
2/lib/com.springsource.org.junit-4.7.0.jar
2/lib/com.springsource.org.quartz-1.6.2.jar
2/lib/com.springsource.org.testng-5.10.0.jar
2/lib/commons-collections-3.1.jar
2/lib/commons-dbcp.jar
2/lib/dom4j-1.6.1.jar
2/lib/easymock.jar
2/lib/ehcache-1.2.3.jar
2/lib/ejb3-persistence.jar
2/sql.txt
2/lib
2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.