View state doesn't change during the running of the application, so implementations are free to cache views.
Implementations are encouraged to support internationalization, i.e. localized view resolution.
org.springframework.web.servlet.view.InternalResourceViewResolver , org.springframework.web.servlet.view.ContentNegotiatingViewResolver , org.springframework.web.servlet.view.BeanNameViewResolver
| Modifier and Type | Method and Description |
|---|---|
| public View | Returns: the View object, ornull if not found
(optional, to allow for ViewResolver chaining)name of the view to resolve viewName, Locale the Locale in which to resolve the view.
ViewResolvers that support internationalization should respect this. locale)Resolve the given view by name. |
| resolveViewName | back to summary |
|---|---|
| public View resolveViewName(String viewName, Locale locale) throws Exception Resolve the given view by name. Note To allow for ViewResolver chaining, a ViewResolver should
return | |