org.springframework.web.struts
Class DelegatingTilesRequestProcessor
|
+--org.springframework.web.struts.DelegatingTilesRequestProcessor
- public class DelegatingTilesRequestProcessor
- extends TilesRequestProcessor
Subclass of Struts' TilesRequestProcessor that looks up Spring-managed
Struts 1.1 Actions defined in ContextLoaderPlugIn's WebApplicationContext.
Behaves like
DelegatingRequestProcessor,
but also provides the Tiles functionality of the original TilesRequestProcessor.
As there's just a single central class to customize in Struts, we have to provide
another subclass here, covering both the Tiles and the Spring delegation aspect.
The default implementation delegates to the DelegatingActionUtils
class as fas as possible, to reuse as much code as possible despite
the need to provide two RequestProcessor subclasses. If you need to
subclass yet another RequestProcessor, take this class as a template,
delegating to DelegatingActionUtils just like it.
- Author:
- Juergen Hoeller
- Since: 1.0.2
- See Also: DelegatingRequestProcessor, DelegatingActionProxy, DelegatingActionUtils
| Method Summary |
void | init(ActionServlet actionServlet, ModuleConfig moduleConfig) |
init
public void init(ActionServlet actionServlet, ModuleConfig moduleConfig)
throws ServletException
to Class org.springframework.web.context.WebApplicationContext