Java Spring Framework Question:

How to integrate your Struts application with Spring?

Tweet Share WhatsApp

Answer:

To integrate your Struts application with Spring, we have two options:

► Configure Spring to manage your Actions as beans, using the ContextLoaderPlugin, and set their dependencies in a Spring context file.

► Subclass Spring's ActionSupport classes and grab your Spring-managed beans explicitly using a getWebApplicationContext() method.

Download Spring Framework PDF Read All 43 Spring Framework Questions
Previous QuestionNext Question
What is Significance of JSF- Spring integration?What are the important beans lifecycle methods?