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

- Packages that use PageContext
  Package | Description
  --- | ---
  javax.faces.webapp | Classes required for integration of JavaServer Faces into web applications, including a standard servlet, base classes for JSP custom component tags, and concrete tag implementations for core tags.
  javax.servlet.jsp | Classes and interfaces for the Core JSP 2.3 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.

- - ### Uses of PageContext in javax.faces.webapp

    Fields in javax.faces.webapp declared as PageContext
    Modifier and Type | Field and Description
    --- | ---
    `protected PageContext` | UIComponentClassicTagBase.`pageContext` The JSP `PageContext` for the page we are embedded in.

    Methods in javax.faces.webapp with parameters of type PageContext
    Modifier and Type | Method and Description
    --- | ---
    `static UIComponentClassicTagBase` | UIComponentClassicTagBase.`getParentUIComponentClassicTagBase(PageContext context)` Locate and return the nearest enclosing `UIComponentClassicTagBase` if any; otherwise, return `null`.
    `static UIComponentTag` | UIComponentTag.`getParentUIComponentTag(PageContext context)` Deprecated. Locate and return the nearest enclosing `UIComponentTag` if any; otherwise, return `null`.
    `void` | UIComponentClassicTagBase.`setPageContext(PageContext pageContext)` Set the `PageContext` of the page containing this tag instance.

  - ### Uses of PageContext in javax.servlet.jsp

    Methods in javax.servlet.jsp that return PageContext
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Field and Description
    --- | ---
    `protected PageContext` | TagSupport.`pageContext` The PageContext.

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

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.