| java.lang.Object | ||
| ↳ | org.springframework.web.servlet.support.RequestContext | |
| ↳ | org.springframework.web.servlet.support.JspAwareRequestContext | |
JSP-aware (and JSTL-aware) subclass of RequestContext, allowing for
 population of the context from a javax.servlet.jsp.PageContext.
 
This context will detect a JSTL locale attribute in page/request/session/application scope, in addition to the fallback locale strategy provided by the base class.
| [Expand] Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
org.springframework.web.servlet.support.RequestContext | |||||||||||
| [Expand] Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
org.springframework.web.servlet.support.RequestContext | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Create a new JspAwareRequestContext for the given page context,
 using the request attributes for Errors retrieval. | |||||||||||
| Create a new JspAwareRequestContext for the given page context,
 using the given model attributes for Errors retrieval. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| This implementation checks for a JSTL locale attribute
 in page, request, session or application scope; if not found,
 returns the  HttpServletRequest.getLocale(). | |||||||||||
| Return the underlying PageContext. | |||||||||||
| Initialize this context with the given page context,
 using the given model attributes for Errors retrieval. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  org.springframework.web.servlet.support.RequestContext | |||||||||||
|  From class
  java.lang.Object | |||||||||||
Create a new JspAwareRequestContext for the given page context, using the request attributes for Errors retrieval.
| pageContext | current JSP page context | 
|---|
Create a new JspAwareRequestContext for the given page context, using the given model attributes for Errors retrieval.
| pageContext | current JSP page context | 
|---|---|
| model | the model attributes for the current view
 (can be null, using the request attributes for Errors retrieval) | 
This implementation checks for a JSTL locale attribute
 in page, request, session or application scope; if not found,
 returns the HttpServletRequest.getLocale().
null)Return the underlying PageContext. Only intended for cooperating classes in this package.
Initialize this context with the given page context, using the given model attributes for Errors retrieval.
| pageContext | current JSP page context | 
|---|---|
| model | the model attributes for the current view
 (can be null, using the request attributes for Errors retrieval) |