## Uses of Class
javax.servlet.jsp.PageContext

Packages that use PageContext
com.acme
javax.servlet.jsp: Classes and interfaces for the Core JSP 2.0 API.
javax.servlet.jsp.jstl.core: Classes and interfaces related to the core tag library component of the JavaServer Pages Standard Tag Library (JSTL).
javax.servlet.jsp.jstl.fmt: Classes and interfaces related to the locale sensitive formatting tag library component of the JavaServer Pages Standard Tag Library (JSTL).
javax.servlet.jsp.tagext: Classes and interfaces for the definition of JavaServer Pages Tag Libraries.
org.apache.jasper.runtime
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 com.acme

Methods in com.acme with parameters of type PageContext
`void` `DateTag.setPageContext(PageContext pageContext)`

Uses of PageContext in javax.servlet.jsp

Methods in javax.servlet.jsp that return PageContext
`abstract PageContext` `JspFactory.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int buffer, boolean autoflush)` obtains an instance of an implementation dependent javax.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.

Methods in javax.servlet.jsp with parameters of type PageContext
`abstract void` `JspFactory.releasePageContext(PageContext pc)` called to release a previously allocated PageContext object.

Uses of PageContext in javax.servlet.jsp.jstl.core

Methods in javax.servlet.jsp.jstl.core with parameters of type PageContext
`static Object` `Config.find(PageContext pc, String name)` Finds the value associated with a specific configuration setting identified by its context initialization parameter name.
`static Object` `Config.get(PageContext pc, String name, int scope)` Looks up a configuration variable in the given scope.
`static void` `Config.remove(PageContext pc, String name, int scope)` Removes a configuration variable from the given scope.
`static void` `Config.set(PageContext pc, String name, Object value, int scope)` Sets the value of a configuration variable in the given scope.

Uses of PageContext in javax.servlet.jsp.jstl.fmt

Methods in javax.servlet.jsp.jstl.fmt with parameters of type PageContext
`static String` `LocaleSupport.getLocalizedMessage(PageContext pageContext, String key)` Retrieves the localized message corresponding to the given key.
`static String` `LocaleSupport.getLocalizedMessage(PageContext pageContext, String key, Object[] args)` Retrieves the localized message corresponding to the given key, and performs parametric replacement using the arguments specified via `args`.
`static String` `LocaleSupport.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 via `args`.
`static String` `LocaleSupport.getLocalizedMessage(PageContext pageContext, String key, String basename)` Retrieves the localized message corresponding to the given key.

Uses of PageContext in javax.servlet.jsp.tagext

Fields in javax.servlet.jsp.tagext declared as PageContext
`protected PageContext` `TagSupport.pageContext` The PageContext.

Methods in javax.servlet.jsp.tagext with parameters of type PageContext
`void` `TagAdapter.setPageContext(PageContext pc)` Must not be called.
`void` `TagSupport.setPageContext(PageContext pageContext)` Set the page context.
`void` `Tag.setPageContext(PageContext pc)` Set the current page context.

Uses of PageContext in org.apache.jasper.runtime

Subclasses of PageContext in org.apache.jasper.runtime
`class` `JspContextWrapper` Implementation of a JSP Context Wrapper.
`class` `PageContextImpl` Implementation of the PageContext class from the JSP spec.

Fields in org.apache.jasper.runtime declared as PageContext
`protected PageContext` `JspFragmentHelper._jspx_page_context`

Methods in org.apache.jasper.runtime that return PageContext
`PageContext` `JspFactoryImpl.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush)`
`static PageContext` `JspContextWrapper.getRootPageContext(PageContext pc)`

Methods in org.apache.jasper.runtime with parameters of type PageContext
`static Object` `PageContextImpl.evaluateExpression(String expression, Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap)` Evaluates an EL expression
`static MethodExpression` `PageContextImpl.getMethodExpression(String expression, PageContext pageContext, FunctionMapper functionMap, Class expectedType, Class[] paramTypes)`
`static PageContext` `JspContextWrapper.getRootPageContext(PageContext pc)`
`static ValueExpression` `PageContextImpl.getValueExpression(String expression, PageContext pageContext, Class expectedType, FunctionMapper functionMap)`

`static void`

`JspRuntimeLibrary.handleSetPropertyExpression(Object bean, String prop, String expression, PageContext pageContext, ProtectedFunctionMapper functionMapper)`
Use proprietaryEvaluate public static void handleSetPropertyExpression(Object bean, String prop, String expression, PageContext pageContext, VariableResolver variableResolver, FunctionMapper functionMapper ) throws JasperException { try { Method method = getWriteMethod(bean.getClass(), prop); method.invoke(bean, new Object[] { pageContext.getExpressionEvaluator().evaluate( expression, method.getParameterTypes()[0], variableResolver, functionMapper, null ) }); } catch (Exception ex) { throw new JasperException(ex); } }

`void` `JspFactoryImpl.releasePageContext(PageContext pc)`
`static void` `PageContextImpl.setMethodVariable(PageContext pageContext, String variable, MethodExpression expression)`
`static void` `PageContextImpl.setValueVariable(PageContext pageContext, String variable, ValueExpression expression)`

Constructors in org.apache.jasper.runtime with parameters of type PageContext
`ExpressionEvaluatorImpl(PageContext pageContext)` Constructor
`VariableResolverImpl(PageContext pageContext)` Constructor

Uses of PageContext in org.apache.taglibs.standard.lang.jstl

Methods in org.apache.taglibs.standard.lang.jstl with parameters of type PageContext
`static Map` `ImplicitObjects.createApplicationScopeMap(PageContext pContext)` Creates the Map that "wraps" application-scoped attributes
`static Map` `ImplicitObjects.createCookieMap(PageContext pContext)` Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().
`static Map` `ImplicitObjects.createHeaderMap(PageContext pContext)` Creates the Map that maps header name to single header value.
`static Map` `ImplicitObjects.createHeadersMap(PageContext pContext)` Creates the Map that maps header name to an array of header values.
`static Map` `ImplicitObjects.createInitParamMap(PageContext pContext)` Creates the Map that maps init parameter name to single init parameter value.
`static Map` `ImplicitObjects.createPageScopeMap(PageContext pContext)` Creates the Map that "wraps" page-scoped attributes
`static Map` `ImplicitObjects.createParamMap(PageContext pContext)` Creates the Map that maps parameter name to single parameter value.
`static Map` `ImplicitObjects.createParamsMap(PageContext pContext)` Creates the Map that maps parameter name to an array of parameter values.
`static Map` `ImplicitObjects.createRequestScopeMap(PageContext pContext)` Creates the Map that "wraps" request-scoped attributes
`static Map` `ImplicitObjects.createSessionScopeMap(PageContext pContext)` Creates the Map that "wraps" session-scoped attributes
`Object` `Evaluator.evaluate(String pAttributeName, String pAttributeValue, Class pExpectedType, Tag pTag, PageContext pPageContext)` Conduit to old-style call for convenience.
`Object` `Evaluator.evaluate(String pAttributeName, String pAttributeValue, Class pExpectedType, Tag pTag, PageContext pPageContext, Map functions, String defaultPrefix)` Evaluates the expression at request time
`static ImplicitObjects` `ImplicitObjects.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
`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
`static Object` `ExpressionEvaluatorManager.evaluate(String attributeName, String expression, Class expectedType, PageContext pageContext)` Invokes the evaluate() method on the "active" ExpressionEvaluator for the given pageContext.
`static Object` `ExpressionEvaluatorManager.evaluate(String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext)` Invokes the evaluate() method on the "active" ExpressionEvaluator for the given pageContext.
`Object` `ExpressionEvaluator.evaluate(String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext)` Evaluates the expression at request time.

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
`static void` `OutSupport.out(PageContext pageContext, boolean escapeXml, Object obj)` Outputs `text` to `pageContext`'s current JspWriter.
`static String` `UrlSupport.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
`static LocalizationContext` `BundleSupport.getLocalizationContext(PageContext pc)` Gets the default I18N localization context.
`static LocalizationContext` `BundleSupport.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
`JSTLXPathVariableResolver(PageContext pc)`
`ParseSupport.JstlEntityResolver(PageContext ctx)`
`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
`static Object` `ExpressionUtil.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.

Copyright © 2007 Mort Bay Consulting. All Rights Reserved.