18.1. Introduction .................................................................................................538
18.2. Common configuration .................................................................................539
18.3. JavaServer Faces 1.1 and 1.2 .........................................................................540
DelegatingVariableResolver (JSF 1.1/1.2) ......................................................540
SpringBeanVariableResolver (JSF 1.1/1.2) .....................................................541
SpringBeanFacesELResolver (JSF 1.2+) ........................................................541
FacesContextUtils ........................................................................................542
18.4. Apache Struts 1.x and 2.x .............................................................................542
ContextLoaderPlugin ....................................................................................543
DelegatingRequestProcessor .................................................................544
DelegatingActionProxy .........................................................................544
ActionSupport Classes ..................................................................................545
18.5. WebWork 2.x ...............................................................................................545
18.6. Tapestry 3.x and 4.x .....................................................................................546
Injecting Spring-managed beans ....................................................................547
Dependency Injecting Spring Beans into Tapestry pages .........................548
Component definition files ....................................................................549
Adding abstract accessors ......................................................................550
Dependency Injecting Spring Beans into Tapestry pages - Tapestry 4.x style
.............................................................................................................552
18.7. Further Resources .........................................................................................553
19. Portlet MVC Framework .........................................................................................554
19.1. Introduction .................................................................................................554
Controllers - The C in MVC ..........................................................................555
Views - The V in MVC .................................................................................555
Web-scoped beans ........................................................................................556
19.2. The DispatcherPortlet ...................................................................................556
19.3. The ViewRendererServlet .............................................................................558
19.4. Controllers ...................................................................................................559
AbstractController and PortletContentGenerator .............................................559
Other simple controllers ................................................................................561
Command Controllers ...................................................................................561
PortletWrappingController ............................................................................562
19.5. Handler mappings ........................................................................................562
PortletModeHandlerMapping ........................................................................563
ParameterHandlerMapping ............................................................................564
PortletModeParameterHandlerMapping .........................................................564
Adding HandlerInterceptors ..........................................................................565
HandlerInterceptorAdapter ............................................................................565
ParameterMappingInterceptor .......................................................................565
19.6. Views and resolving them .............................................................................566
19.7. Multipart (file upload) support ......................................................................566
Using the PortletMultipartResolver ................................................................567
Handling a file upload in a form ....................................................................567
19.8. Handling exceptions .....................................................................................570
Spring Framework
3.1 Reference Documentation xviii