Java Reference
In-Depth Information
Hitting Ctrl+Space between <%= and %> or <% and %> delimiters results in all implicit
objects available to JSP pages being displayed.
The following table briefly describes all implicit JSP objects.
Implicit Object Implicit Object Type
Implicit Object Description
application javax.servlet.
ServletContext
This object can have attributes
attached that are visible across user
sessions.
config
javax.servlet.ServletConfig Typically used to obtain
initialization parameters.
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.
 
Search WWH ::




Custom Search