|
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. 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.
|