| java.lang.Object | |
| ↳ | org.springframework.web.servlet.support.JstlUtils |
Helper class for preparing JSTL views, in particular for exposing a JSTL localization context.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Exposes JSTL-specific request attributes specifying locale
and resource bundle for JSTL's formatting and message tags,
using Spring's locale and MessageSource.
| |||||||||||
Exposes JSTL-specific request attributes specifying locale
and resource bundle for JSTL's formatting and message tags,
using Spring's locale and MessageSource.
| |||||||||||
Checks JSTL's "javax.servlet.jsp.jstl.fmt.localizationContext"
context-param and creates a corresponding child message source,
with the provided Spring-defined MessageSource as parent.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and MessageSource.
| request | the current HTTP request |
|---|---|
| messageSource | the MessageSource to expose,
typically the current ApplicationContext (may be null) |
Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and MessageSource.
| requestContext | the context for the current HTTP request, including the ApplicationContext to expose as MessageSource |
|---|
Checks JSTL's "javax.servlet.jsp.jstl.fmt.localizationContext" context-param and creates a corresponding child message source, with the provided Spring-defined MessageSource as parent.
| servletContext | the ServletContext we're running in
(to check JSTL-related context-params in web.xml) |
|---|---|
| messageSource | the MessageSource to expose, typically the ApplicationContext of the current DispatcherServlet |