spring-framework / org.springframework.web.servlet.support / JspAwareRequestContext

JspAwareRequestContext

open class JspAwareRequestContext : RequestContext

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.

Author
Juergen Hoeller

Since
1.1.4

See Also
#getFallbackLocale

Constructors

<init>

JspAwareRequestContext(pageContext: PageContext)

Create a new JspAwareRequestContext for the given page context, using the request attributes for Errors retrieval.

JspAwareRequestContext(pageContext: PageContext, model: MutableMap<String, Any>)

Create a new JspAwareRequestContext for the given page context, using the given model attributes for Errors retrieval.