Uses of Class
jakarta.servlet.jsp.PageContext
-
Packages that use PageContext Package Description jakarta.servlet.jsp jakarta.servlet.jsp.jstl.core Classes and interfaces related to the core tag library component of the Jakarta Standard Tag Library.jakarta.servlet.jsp.jstl.fmt Classes and interfaces related to the locale sensitive formatting tag library component of the Jakarta Standard Tag Library.jakarta.servlet.jsp.tagext org.apache.taglibs.standard.lang.jstl org.apache.taglibs.standard.lang.support org.apache.taglibs.standard.tag.common.core org.apache.taglibs.standard.tag.common.fmt org.apache.taglibs.standard.tag.common.xml org.apache.taglibs.standard.tag.el.core -
-
Uses of PageContext in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that return PageContext Modifier and Type Method Description abstract PageContextJspFactory. getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int buffer, boolean autoflush)obtains an instance of an implementation dependent jakarta.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.Methods in jakarta.servlet.jsp with parameters of type PageContext Modifier and Type Method Description abstract voidJspFactory. releasePageContext(PageContext pc)called to release a previously allocated PageContext object. -
Uses of PageContext in jakarta.servlet.jsp.jstl.core
Methods in jakarta.servlet.jsp.jstl.core with parameters of type PageContext Modifier and Type Method Description static ObjectConfig. find(PageContext pageContext, String name)Finds the value associated with a specific configuration setting identified by its context initialization parameter name.static ObjectConfig. get(PageContext pageContext, String name, int scope)Looks up a configuration variable in the given scope.static voidConfig. remove(PageContext pageContext, String name, int scope)Removes a configuration variable from the given scope.static voidConfig. set(PageContext pageContext, String name, Object value, int scope)Sets the value of a configuration variable in the given scope. -
Uses of PageContext in jakarta.servlet.jsp.jstl.fmt
Methods in jakarta.servlet.jsp.jstl.fmt with parameters of type PageContext Modifier and Type Method Description static StringLocaleSupport. getLocalizedMessage(PageContext pageContext, String key)Retrieves the localized message corresponding to the given key.static StringLocaleSupport. getLocalizedMessage(PageContext pageContext, String key, Object[] args)Retrieves the localized message corresponding to the given key, and performs parametric replacement using the arguments specified viaargs.static StringLocaleSupport. getLocalizedMessage(PageContext pageContext, String key, Object[] args, String basename)Retrieves the localized message corresponding to the given key, and performs parametric replacement using the arguments specified viaargs.static StringLocaleSupport. getLocalizedMessage(PageContext pageContext, String key, String basename)Retrieves the localized message corresponding to the given key. -
Uses of PageContext in jakarta.servlet.jsp.tagext
Fields in jakarta.servlet.jsp.tagext declared as PageContext Modifier and Type Field Description protected PageContextTagSupport. pageContextThe PageContext.Methods in jakarta.servlet.jsp.tagext with parameters of type PageContext Modifier and Type Method Description voidTag. setPageContext(PageContext pc)Set the current page context.voidTagAdapter. setPageContext(PageContext pc)Must not be called.voidTagSupport. setPageContext(PageContext pageContext)Set the page context. -
Uses of PageContext in org.apache.taglibs.standard.lang.jstl
Methods in org.apache.taglibs.standard.lang.jstl with parameters of type PageContext Modifier and Type Method Description static MapImplicitObjects. createApplicationScopeMap(PageContext pContext)Creates the Map that "wraps" application-scoped attributesstatic Map<String,Cookie>ImplicitObjects. createCookieMap(PageContext pContext)Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().static MapImplicitObjects. createHeaderMap(PageContext pContext)Creates the Map that maps header name to single header value.static MapImplicitObjects. createHeadersMap(PageContext pContext)Creates the Map that maps header name to an array of header values.static MapImplicitObjects. createInitParamMap(PageContext pContext)Creates the Map that maps init parameter name to single init parameter value.static MapImplicitObjects. createPageScopeMap(PageContext pContext)Creates the Map that "wraps" page-scoped attributesstatic MapImplicitObjects. createParamMap(PageContext pContext)Creates the Map that maps parameter name to single parameter value.static MapImplicitObjects. createParamsMap(PageContext pContext)Creates the Map that maps parameter name to an array of parameter values.static MapImplicitObjects. createRequestScopeMap(PageContext pContext)Creates the Map that "wraps" request-scoped attributesstatic MapImplicitObjects. createSessionScopeMap(PageContext pContext)Creates the Map that "wraps" session-scoped attributesObjectEvaluator. evaluate(String pAttributeName, String pAttributeValue, Class pExpectedType, Tag pTag, PageContext pPageContext)Conduit to old-style call for convenience.ObjectEvaluator. evaluate(String pAttributeName, String pAttributeValue, Class pExpectedType, Tag pTag, PageContext pPageContext, Map functions, String defaultPrefix)Evaluates the expression at request timestatic ImplicitObjectsImplicitObjects. getImplicitObjects(PageContext pContext)Finds the ImplicitObjects associated with the PageContext, creating it if it doesn't yet exist.Constructors in org.apache.taglibs.standard.lang.jstl with parameters of type PageContext Constructor Description ImplicitObjects(PageContext pContext)Constructor -
Uses of PageContext in org.apache.taglibs.standard.lang.support
Methods in org.apache.taglibs.standard.lang.support with parameters of type PageContext Modifier and Type Method Description ObjectExpressionEvaluator. evaluate(String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext)Evaluates the expression at request time.static ObjectExpressionEvaluatorManager. evaluate(String attributeName, String expression, Class expectedType, PageContext pageContext)Invokes the evaluate() method on the "active" ExpressionEvaluator for the given pageContext.static ObjectExpressionEvaluatorManager. evaluate(String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext)Invokes the evaluate() method on the "active" ExpressionEvaluator for the given pageContext. -
Uses of PageContext in org.apache.taglibs.standard.tag.common.core
Methods in org.apache.taglibs.standard.tag.common.core with parameters of type PageContext Modifier and Type Method Description static voidOutSupport. out(PageContext pageContext, boolean escapeXml, Object obj)Outputs text to pageContext's current JspWriter.static StringUrlSupport. resolveUrl(String url, String context, PageContext pageContext) -
Uses of PageContext in org.apache.taglibs.standard.tag.common.fmt
Methods in org.apache.taglibs.standard.tag.common.fmt with parameters of type PageContext Modifier and Type Method Description static LocalizationContextBundleSupport. getLocalizationContext(PageContext pc)Gets the default I18N localization context.static LocalizationContextBundleSupport. getLocalizationContext(PageContext pc, String basename)Gets the resource bundle with the given base name, whose locale is determined as follows: Check if a match exists between the ordered set of preferred locales and the available locales, for the given base name. -
Uses of PageContext in org.apache.taglibs.standard.tag.common.xml
Constructors in org.apache.taglibs.standard.tag.common.xml with parameters of type PageContext Constructor Description JstlEntityResolver(PageContext ctx)JSTLXPathVariableResolver(PageContext pc)XPathUtil(PageContext pc)Constructs a new XPathUtil object associated with the given PageContext. -
Uses of PageContext in org.apache.taglibs.standard.tag.el.core
Methods in org.apache.taglibs.standard.tag.el.core with parameters of type PageContext Modifier and Type Method Description static ObjectExpressionUtil. evalNotNull(String tagName, String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext)Evaluates an expression if present, but does not allow the expression to evaluate to 'null', throwing a NullAttributeException if it does.
-