spring-framework / org.springframework.web.servlet.support / JspAwareRequestContext / <init>

<init>

JspAwareRequestContext(pageContext: PageContext)

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

Parameters

pageContext - current JSP page context

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

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

Parameters

pageContext - current JSP page context

model - the model attributes for the current view (can be null, using the request attributes for Errors retrieval)