Java Reference
In-Depth Information
The
getRequest()
Method
public abstract javax.servlet.ServletRequest getRequest()
The
getRequest()
method returns the
ServletRequest
for this
PageContext
. It has no para-
meters and throws no exceptions.
It returns this value:
•
javax.servlet.ServletRequest
The
getResponse()
Method
public abstract javax.servlet.ServletResponse getResponse()
The
getResponse()
method returns the
ServletResponse
for this
PageContext
. It has no
parameters and throws no exceptions.
It returns this value:
•
javax.servlet.ServletResponse
The
getServletConfig()
Method
public abstract javax.servlet.ServletConfig getServletConfig()
D
The
getServletConfig()
method returns the
ServletConfig
for this
PageContext
. It has no
parameters and throws no exceptions.
It returns this value:
•
javax.servlet.ServletConfig
The
getServletContext()
Method
public abstract javax.servlet.ServletContext getServletContext()
The
getServletContext()
method returns the
ServletContext
for this
PageContext
. It has
no parameters and throws no exceptions.
It returns this value:
•
javax.servlet.ServletContext
The
getSession()
Method
public abstract javax.servlet.http.HttpSession getSession()
The
getSession()
method returns the
HttpSession
for this
PageContext
or null. It has no
parameters and throws no exceptions.