Java Reference
In-Depth Information
Implicit
Object
Implicit Object Type
Implicit Object Description
exception
java.lang.Throwable
Provides access to the exception that was
thrown that led to the page being invoked.
This implicit object is only accessible if the
page directive's isErrorPage attribute is
set to true .
jspContext
javax.servlet.jsp.
JspContext
Provides methods for setting, retrieving,
and removing attributes from the different
scopes (page, request, session, application).
out
javax.servlet.jsp.
JspWriter
Used to output text on the page.
page
java.lang.Object
Returns a reference to the current JSP. This
implicit object is not typically used by JSP
page authors.
pageContext javax.servlet.jsp.
PageContext
Provides all functionality provided by
jspContext plus additional methods
specific to a servlet environment.
request
javax.servlet.
ServletRequest
Commonly used to obtain HTTP request
parameters and attributes.
response
javax.servlet.
ServletResponse
Contains several methods to manipulate
the HTTP response sent to the browser.
Can be used to add HTTP headers, cookies,
etc.
session
javax.servlet.http.
HttpSession
Typically used to set and retrieve attributes
that are specific to each user session.
Search WWH ::




Custom Search