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