Java Spring Framework Question:
Download Job Interview Questions and Answers PDF
How to integrate your Struts application with Spring?
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.
► 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 Interview Questions And Answers
PDF
Previous Question | Next Question |
What is Significance of JSF- Spring integration? | What are the important beans lifecycle methods? |