Learn how to integrate Spring and Struts 2 with the help of a simple hello world example.
In this simple hello world example you will see how to integrate Spring and Struts 2 using the struts2-spring-plugin. By doing this you can utilize the Spring's powerful Dependency Injection feature. To learn more about Dependency Injection refer this example.
First add the org.springframework.web.context.ContextLoaderListener to the web.xml file.