Wednesday, July 15, 2009

This is very usefull post....thnx

Friday, July 3, 2009

Struts & Spring Integration

1. We need to add all struts & spring jar in the project lib. specifically struts2-spring-plugin.jar needs to be added.
2. Inside the struts.xml the following lines need to added.

3. then applicationContext.xml files should be there inside WEB-INF folder. If we want the xml file in any other location we can explicitly define it in web.xml.
4. Now project is ready to react to both struts & spring. we can add the specific name inside the struts.xml and it will find out the name related class inside the applicationContext.xml