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