javax.servlet.jsp

Class PageContext


public abstract class PageContext
extends java.lang.Object

XXX

Field Summary

static String
APPLICATION
XXX
static int
APPLICATION_SCOPE
XXX
static String
CONFIG
XXX
static String
EXCEPTION
XXX
static String
OUT
XXX
static String
PAGE
XXX
static String
PAGECONTEXT
XXX
static int
PAGE_SCOPE
XXX
static String
REQUEST
XXX
static int
REQUEST_SCOPE
XXX
static String
RESPONSE
XXX
static String
SESSION
XXX
static int
SESSION_SCOPE
XXX

Constructor Summary

PageContext()

Method Summary

abstract Object
findAttribute(String name)
XXX
abstract void
forward(String urlPath)
XXX
abstract Object
getAttribute(String name)
XXX
abstract Object
getAttribute(String name, int scope)
XXX
abstract Enumeration
getAttributeNamesInScope(int scope)
XXX
abstract int
getAttributesScope(String name)
XXX
abstract Exception
getException()
XXX
abstract JspWriter
getOut()
XXX
abstract Object
getPage()
XXX
abstract ServletRequest
getRequest()
XXX
abstract ServletResponse
getResponse()
XXX
abstract ServletConfig
getServletConfig()
XXX
abstract ServletContext
getServletContext()
XXX
abstract HttpSession
getSession()
XXX
abstract void
handlePageException(Exception exception)
XXX
abstract void
include(String urlPath)
XXX
abstract void
initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush)
XXX
abstract void
release()
XXX
abstract void
removeAttribute(String name)
XXX
abstract void
removeAttribute(String name, int scope)
XXX
abstract void
setAttribute(String name, Object attribute)
XXX
abstract void
setAttribute(String name, Object attribute, int scope)
XXX

Field Details

APPLICATION

public static final String APPLICATION
XXX

APPLICATION_SCOPE

public static final int APPLICATION_SCOPE
XXX
Field Value:
4

CONFIG

public static final String CONFIG
XXX

EXCEPTION

public static final String EXCEPTION
XXX

OUT

public static final String OUT
XXX

PAGE

public static final String PAGE
XXX

PAGECONTEXT

public static final String PAGECONTEXT
XXX

PAGE_SCOPE

public static final int PAGE_SCOPE
XXX
Field Value:
1

REQUEST

public static final String REQUEST
XXX

REQUEST_SCOPE

public static final int REQUEST_SCOPE
XXX
Field Value:
2

RESPONSE

public static final String RESPONSE
XXX

SESSION

public static final String SESSION
XXX

SESSION_SCOPE

public static final int SESSION_SCOPE
XXX
Field Value:
3

Constructor Details

PageContext

public PageContext()

Method Details

findAttribute

public abstract Object findAttribute(String name)
XXX
Parameters:
name - XXX

forward

public abstract void forward(String urlPath)
            throws IOException,
                   ServletException,
                   IllegalArgumentException,
                   IllegalStateException,
                   SecurityException
XXX
Parameters:
urlPath - XXX
Throws:
ServletException - XXX

getAttribute

public abstract Object getAttribute(String name)
            throws IllegalArgumentException,
                   NullPointerException
XXX
Parameters:
name - XXX
Returns:
XXX

getAttribute

public abstract Object getAttribute(String name,
                                    int scope)
            throws IllegalArgumentException,
                   NullPointerException
XXX
Parameters:
name - XXX
Returns:
XXX

getAttributeNamesInScope

public abstract Enumeration getAttributeNamesInScope(int scope)
XXX
Parameters:
scope - XXX
Returns:
XXX

getAttributesScope

public abstract int getAttributesScope(String name)
XXX
Parameters:
Returns:
XXX

getException

public abstract Exception getException()
XXX
Returns:
XXX

getOut

public abstract JspWriter getOut()
XXX
Returns:
XXX

getPage

public abstract Object getPage()
XXX
Returns:
the page in the form of a Servlet

getRequest

public abstract ServletRequest getRequest()
XXX
Returns:
XXX

getResponse

public abstract ServletResponse getResponse()
XXX
Returns:
XXX

getServletConfig

public abstract ServletConfig getServletConfig()
XXX
Returns:
XXX

getServletContext

public abstract ServletContext getServletContext()
XXX
Returns:
XXX

getSession

public abstract HttpSession getSession()
XXX
Returns:
XXX

handlePageException

public abstract void handlePageException(Exception exception)
            throws IOException,
                   ServletException
XXX
Parameters:
exception - XXX
Throws:
ServletException - XXX

include

public abstract void include(String urlPath)
            throws IOException,
                   ServletException,
                   IllegalArgumentException,
                   SecurityException
XXX
Parameters:
urlPath - XXX
Throws:
ServletException - XXX

initialize

public abstract void initialize(Servlet servlet,
                                ServletRequest request,
                                ServletResponse response,
                                String errorPageURL,
                                boolean needsSession,
                                int bufferSize,
                                boolean autoflush)
            throws IOException,
                   IllegalArgumentException,
                   IllegalStateException
XXX
Parameters:
servlet - XXX
request - XXX
response - XXX
errorPageURL - XXX
needsSession - XXX
bufferSize - XXX
autoflush - XXX

release

public abstract void release()
XXX

removeAttribute

public abstract void removeAttribute(String name)
XXX
Parameters:
name - XXX

removeAttribute

public abstract void removeAttribute(String name,
                                     int scope)
XXX
Parameters:
name - XXX
scope - XXX

setAttribute

public abstract void setAttribute(String name,
                                  Object attribute)
            throws NullPointerException
XXX
Parameters:
name - XXX
attribute - XXX

setAttribute

public abstract void setAttribute(String name,
                                  Object attribute,
                                  int scope)
            throws IllegalArgumentException,
                   NullPointerException
XXX
Parameters:
name - XXX
attribute - XXX
scope - XXX