Customizing WebDataBinder initialization .............................................446
16.4. Handler mappings ........................................................................................447
Intercepting requests with a HandlerInterceptor ..............................................448
16.5. Resolving views ...........................................................................................449
Resolving views with the ViewResolver interface ...........................................450
Chaining ViewResolvers ...............................................................................451
Redirecting to views .....................................................................................452
RedirectView .......................................................................................453
The redirect: prefix ...............................................................................453
The forward: prefix ...............................................................................454
ContentNegotiatingViewResolver ..................................................................454
16.6. Using locales ...............................................................................................456
AcceptHeaderLocaleResolver ........................................................................457
CookieLocaleResolver ..................................................................................457
SessionLocaleResolver .................................................................................458
LocaleChangeInterceptor ..............................................................................458
16.7. Using themes ...............................................................................................458
Overview of themes ......................................................................................458
Defining themes ...........................................................................................458
Theme resolvers ...........................................................................................459
16.8. Spring's multipart (fileupload) support ...........................................................460
Introduction .................................................................................................460
Using the MultipartResolver ..........................................................................460
Handling a file upload in a form ....................................................................461
16.9. Handling exceptions .....................................................................................462
HandlerExceptionResolver ............................................................................462
@ExceptionHandler ......................................................................................462
16.10. Convention over configuration support ........................................................463
The Controller ControllerClassNameHandlerMapping ....................................463
The Model ModelMap (ModelAndView) .......................................................464
The View - RequestToViewNameTranslator ..................................................466
16.11. ETag support ..............................................................................................467
16.12. Configuring Spring MVC ............................................................................468
mvc:annotation-driven ..................................................................................468
mvc:interceptors ...........................................................................................469
mvc:view-controller ......................................................................................470
mvc:resources ..............................................................................................470
mvc:default-servlet-handler ...........................................................................472
16.13. More Spring Web MVC Resources ..............................................................472
17. View technologies ...................................................................................................474
17.1. Introduction .................................................................................................474
17.2. JSP & JSTL .................................................................................................474
View resolvers .............................................................................................474
'Plain-old' JSPs versus JSTL ..........................................................................475
Additional tags facilitating development ........................................................475
Spring Framework
3.1 Reference Documentation xv