| Servlet 2.4+ listener that exposes the request to the current thread,
through both
org.springframework.context.i18n.LocaleContextHolder and
RequestContextHolder . To be registered as listener in web.xml .
Alternatively, Spring's
org.springframework.web.filter.RequestContextFilter and Spring's
org.springframework.web.servlet.DispatcherServlet also expose
the same request context to the current thread.
This listener is mainly for use with third-party servlets, e.g. the JSF FacesServlet.
Within Spring's own web support, DispatcherServlet's processing is perfectly sufficient.
author: Juergen Hoeller since: 2.0 See Also: javax.servlet.ServletRequestListener See Also: org.springframework.context.i18n.LocaleContextHolder See Also: org.springframework.web.context.request.RequestContextHolder See Also: org.springframework.web.filter.RequestContextFilter See Also: org.springframework.web.servlet.DispatcherServlet |