I. Integration of spring and STRUTS2 1.1, integration steps
1.2. Configure Web. xml
1.3. Configure Spring configuration file Applicationcontext.xml
1.4. Configuring the Struts configuration file
1.5. Action inherits Actionsupport class
Two, spring and Hibernate integration 2.1, step
2.2. Inject Sessionfactory
<--data Source--><BeanID= "DataSource"class= "Org.springframework.jdbc.datasource.DriverManagerDataSource"><--or Class= "Org.apache.commons.dbcp.BasicDataSource"--><--or Class= "Org.apache.commons.dbcp.BasicDataSource"--><--Drive-->< Propertyname= "Driverclassname"value= "Oracle.jdbc.driver.OracleDriver"/><--url-->< Propertyname= "url"value= "Jdbc:oracle:thin: @localhost: 1521:orcl"/><--User name-->< Propertyname= "username"value= "ACCP"/><--Password-->< Propertyname= "Password"Vaule= "ACCP"/></Bean><--sessionfactory--><BeanID= "Session"class= "Org.springframework.org.hibernate3.LocalSessionFacotry"><--associated data Source-->< Propertyname= "DataSource"ref= "DataSource"/><--hibernateSome of the configurations->< Propertyname= "Hibernateproperties"><Props><propKey= "Hibernate.dialect">Org.hibernate.dialect.Oracle9Dialect</prop></Props></ Property><--hibernateentity class configuration file>< Propertyname= "Mappingresources"><List><value>Package name/class name. hbm.xml</value><value>Package name/class name. hbm.xml</value><List></ Property><Bean>
Third, SSH integration steps
/**/
Spring (eight) SSH integration brief