Package org.springframework.web.servlet.view
Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.
Application developers don't usually need to implement views, as the framework provides standard views for JSPs, Velocity, XSLT, etc. However, the ability to implement custom views easily by subclassing the AbstractView class in this package can be very helpful if an application has unusual view requirements.
Class Summary Class Description AbstractCachingViewResolver Convenient base class forViewResolverimplementations.AbstractTemplateView Adapter base class for template-based view technologies such as Velocity and FreeMarker, with the ability to use request and session attributes in their model and the option to expose helper objects for Spring's Velocity/FreeMarker macro library.AbstractTemplateViewResolver Abstract base class for template view resolvers, in particular for Velocity and FreeMarker views.AbstractUrlBasedView Abstract base class for URL-based views.AbstractView Abstract base class forViewimplementations.BeanNameViewResolver A simple implementation ofViewResolverthat interprets a view name as a bean name in the current application context, i.e.ContentNegotiatingViewResolver Implementation ofViewResolverthat resolves a view based on the request file name orAcceptheader.DefaultRequestToViewNameTranslator RequestToViewNameTranslatorthat simply transforms the URI of the incoming request into a view name.InternalResourceView Wrapper for a JSP or other resource within the same web application.InternalResourceViewResolver Convenient subclass ofUrlBasedViewResolverthat supportsInternalResourceView(i.e.JstlView Specialization ofInternalResourceViewfor JSTL pages, i.e.RedirectView View that redirects to an absolute, context relative, or current request relative URL.ResourceBundleViewResolver AViewResolverimplementation that uses bean definitions in aResourceBundle, specified by the bundle basename.UrlBasedViewResolver Simple implementation of theViewResolverinterface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definition.ViewResolverComposite AViewResolverthat delegates to others.XmlViewResolver AViewResolverimplementation that uses bean definitions in a dedicated XML file for view definitions, specified by resource location.