![](https://csdnimg.cn/release/download_crawler_static/4659721/bg11.jpg)
Document view definitions ....................................................................500
Controller code .....................................................................................500
Subclassing for Excel views ..................................................................501
Subclassing for PDF views ....................................................................502
17.7. JasperReports ...............................................................................................503
Dependencies ...............................................................................................503
Configuration ...............................................................................................503
Configuring the ViewResolver ..............................................................503
Configuring the Views ..........................................................................504
About Report Files ...............................................................................504
Using JasperReportsMultiFormatView ...................................................504
Populating the ModelAndView ......................................................................505
Working with Sub-Reports ............................................................................506
Configuring Sub-Report Files ................................................................506
Configuring Sub-Report Data Sources ...................................................507
Configuring Exporter Parameters ...................................................................507
17.8. Feed Views ..................................................................................................508
17.9. XML Marshalling View ................................................................................509
17.10. JSON Mapping View ..................................................................................509
18. Integrating with other web frameworks .....................................................................510
18.1. Introduction .................................................................................................510
18.2. Common configuration .................................................................................511
18.3. JavaServer Faces 1.1 and 1.2 .........................................................................512
DelegatingVariableResolver (JSF 1.1/1.2) ......................................................512
SpringBeanVariableResolver (JSF 1.1/1.2) .....................................................513
SpringBeanFacesELResolver (JSF 1.2+) ........................................................513
FacesContextUtils ........................................................................................514
18.4. Apache Struts 1.x and 2.x .............................................................................514
ContextLoaderPlugin ....................................................................................515
DelegatingRequestProcessor .................................................................516
DelegatingActionProxy .........................................................................516
ActionSupport Classes ..................................................................................517
18.5. WebWork 2.x ...............................................................................................517
18.6. Tapestry 3.x and 4.x .....................................................................................518
Injecting Spring-managed beans ....................................................................519
Dependency Injecting Spring Beans into Tapestry pages .........................520
Component definition files ....................................................................521
Adding abstract accessors ......................................................................522
Dependency Injecting Spring Beans into Tapestry pages - Tapestry 4.x style
.............................................................................................................524
18.7. Further Resources .........................................................................................525
19. Portlet MVC Framework .........................................................................................526
19.1. Introduction .................................................................................................526
Controllers - The C in MVC ..........................................................................527
Views - The V in MVC .................................................................................527
Spring Framework
3.1 Reference Documentation xvii