# Package org.springframework.web.servlet

@NonNullApi @NonNullFields package org.springframework.web.servlet
Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.

This package and related packages are discussed in Chapters 12 and 13 of Expert One-On-One J2EE Design and Development by Rod Johnson (Wrox, 2002).

Related Packages
Package
Description
org.springframework.web.servlet.config
Defines the XML configuration namespace for Spring MVC.
org.springframework.web.servlet.function
Provides the types that make up Spring's functional web framework for Servlet environments.
org.springframework.web.servlet.handler
Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.
org.springframework.web.servlet.i18n
Locale support classes for Spring's web MVC framework.
org.springframework.web.servlet.mvc
Standard controller implementations for the Servlet MVC framework that comes with Spring.
org.springframework.web.servlet.resource
Support classes for serving static resources.
org.springframework.web.servlet.support
Support classes for Spring's web MVC framework.
org.springframework.web.servlet.tags
This package contains Spring's JSP standard tag library for JSP 2.0+.
org.springframework.web.servlet.theme
Theme support classes for Spring's web MVC framework.
org.springframework.web.servlet.view
Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.
Class
Description
AsyncHandlerInterceptor
Extends `HandlerInterceptor` with a callback method invoked after the start of asynchronous request handling.
DispatcherServlet
Central dispatcher for HTTP request handlers/controllers, for example, for web UI controllers or HTTP-based remote service exporters.
FlashMap
A FlashMap provides a way for one request to store attributes intended for use in another.
FlashMapManager
A strategy interface for retrieving and saving FlashMap instances.
FrameworkServlet
Base servlet for Spring's web framework.
HandlerAdapter
MVC framework SPI, allowing parameterization of the core MVC workflow.
HandlerExceptionResolver
Interface to be implemented by objects that can resolve exceptions thrown during handler mapping or execution, in the typical case to error views.
HandlerExecutionChain
Handler execution chain, consisting of handler object and any handler interceptors.
HandlerInterceptor
Workflow interface that allows for customized handler execution chains.
HandlerMapping
Interface to be implemented by objects that define a mapping between requests and handler objects.
HttpServletBean
Simple extension of `HttpServlet` which treats its config parameters (`init-param` entries within the `servlet` tag in `web.xml`) as bean properties.
LocaleContextResolver
Extension of `LocaleResolver` that adds support for a rich locale context (potentially including locale and time zone information).
LocaleResolver
Interface for web-based locale resolution strategies that allows for both locale resolution via the request and locale modification via request and response.
ModelAndView
Holder for both Model and View in the web MVC framework.
ModelAndViewDefiningException
Exception to be thrown on error conditions that should forward to a specific view with a specific model.
NoHandlerFoundException
Thrown when the `DispatcherServlet` can't find a handler for a request, which may be handled with a configured `HandlerExceptionResolver`.
RequestToViewNameTranslator
Strategy interface for translating an incoming `HttpServletRequest` into a logical view name when no view name is explicitly supplied.
SmartView
Provides additional information about a View such as whether it performs redirects.
ThemeResolver
Deprecated.
as of 6.0 in favor of using CSS, without direct replacement
View
MVC View for a web interaction.
ViewResolver
Interface to be implemented by objects that can resolve views by name.