org.springframework.web.struts (Spring Framework 3.2.1.RELEASE API)
Date: 2013-01-24

@Deprecated

# Package org.springframework.web.struts

Deprecated.
Support classes for integrating a Struts web tier with a Spring middle tier which is typically hosted in a Spring root WebApplicationContext.

See: Description

- Class Summary
  Class | Description
  --- | ---
  ActionSupport | Deprecated as of Spring 3.0
  AutowiringRequestProcessor | Deprecated as of Spring 3.0
  AutowiringTilesRequestProcessor | Deprecated as of Spring 3.0
  ContextLoaderPlugIn | Deprecated as of Spring 3.0
  DelegatingActionProxy | Deprecated as of Spring 3.0
  DelegatingActionUtils | Deprecated as of Spring 3.0
  DelegatingRequestProcessor | Deprecated as of Spring 3.0
  DelegatingTilesRequestProcessor | Deprecated as of Spring 3.0
  DispatchActionSupport | Deprecated as of Spring 3.0
  LookupDispatchActionSupport | Deprecated as of Spring 3.0
  MappingDispatchActionSupport | Deprecated as of Spring 3.0
  SpringBindingActionForm | Deprecated as of Spring 3.0

## Package org.springframework.web.struts Description

Support classes for integrating a Struts web tier with a Spring middle tier which is typically hosted in a Spring root WebApplicationContext.

Supports easy access to the Spring root WebApplicationContext from Struts Actions via the ActionSupport and DispatchActionSupport classes. Actions have full access to Spring's WebApplicationContext facilities in this case, and explicitly look up Spring-managed beans.

Also supports wiring Struts Actions as Spring-managed beans in a ContextLoaderPlugIn context, passing middle tier references to them via bean references, using the Action path as bean name. There are two ways to make Struts delegate Action lookup to the ContextLoaderPlugIn:

- Use DelegationActionProxy as Action "type" in struts-config. There's no further setup necessary; you can choose any RequestProcessor. Each such proxy will automatically delegate to the corresponding Spring-managed Action bean in the ContextLoaderPlugIn context.
- Configure DelegatingRequestProcessor as "processorClass" in struts-config, using the original Action "type" (possibly generated by XDoclet) or no "type" at all. To also use Tiles, configure DelegatingTilesRequestProcessor instead.