![](https://csdnimg.cn/release/download_crawler_static/9729415/bg12.jpg)
Spring Framework Reference Documentation
3.2.18.RELEASE Spring Framework xviii
Controller code ....................................................................................... 507
Subclassing for Excel views .................................................................... 507
Subclassing for PDF views ..................................................................... 509
18.7. JasperReports ............................................................................................... 509
Dependencies ................................................................................................ 509
Configuration .................................................................................................. 510
Configuring the ViewResolver .............................................................. 510
Configuring the Views ............................................................................ 510
About Report Files .................................................................................. 510
Using JasperReportsMultiFormatView ............................................. 511
Populating the ModelAndView ....................................................................... 511
Working with Sub-Reports ............................................................................... 512
Configuring Sub-Report Files .................................................................. 512
Configuring Sub-Report Data Sources ..................................................... 513
Configuring Exporter Parameters ..................................................................... 513
18.8. Feed Views ................................................................................................... 514
18.9. XML Marshalling View .................................................................................... 515
18.10. JSON Mapping View .................................................................................... 515
19. Integrating with other web frameworks ....................................................................... 516
19.1. Introduction .................................................................................................... 516
19.2. Common configuration ................................................................................... 517
19.3. JavaServer Faces 1.1 and 1.2 ........................................................................ 518
DelegatingVariableResolver (JSF 1.1/1.2) ........................................................ 518
SpringBeanVariableResolver (JSF 1.1/1.2) ....................................................... 519
SpringBeanFacesELResolver (JSF 1.2+) ......................................................... 519
FacesContextUtils ........................................................................................... 519
19.4. Apache Struts 1.x and 2.x .............................................................................. 519
ContextLoaderPlugin ....................................................................................... 520
DelegatingRequestProcessor ................................................................... 521
DelegatingActionProxy ............................................................................ 521
ActionSupport Classes .................................................................................... 521
19.5. WebWork 2.x ................................................................................................. 522
19.6. Tapestry 3.x and 4.x ...................................................................................... 523
Injecting Spring-managed beans ..................................................................... 523
Dependency Injecting Spring Beans into Tapestry pages ........................... 525
Component definition files ....................................................................... 526
Adding abstract accessors ...................................................................... 527
Dependency Injecting Spring Beans into Tapestry pages - Tapestry 4.x
style ....................................................................................................... 529
19.7. Further Resources ......................................................................................... 530
20. Portlet MVC Framework ............................................................................................ 531
20.1. Introduction .................................................................................................... 531
Controllers - The C in MVC ............................................................................ 532
Views - The V in MVC .................................................................................... 532
Web-scoped beans ......................................................................................... 532
20.2. The DispatcherPortlet ............................................................................ 532
20.3. The ViewRendererServlet ........................................................................ 534
20.4. Controllers ..................................................................................................... 535
AbstractController and PortletContentGenerator ............................. 536
Other simple controllers .................................................................................. 537