Java Reference
In-Depth Information
•
<jsp:param>
The
<jsp:param>
action is used to provide tag/value pairs of information,
by including them as sub-attributes of the
<jsp:include>
,
<jsp:forward>
,and
<jsp:plugin>
actions.
•
<jsp:plugin>
The
<jsp:plugin>
action gives a JSP author the ability to generate
HTML that contains the appropriate client browser-dependent constructs.
Implicit Objects
When you write JSPs, you can use several implicit objects in JSP documents without declaring
them first. Table 14.3 lists the implicit objects provided by the JSP architecture. Each of these
implicit objects has a class or interface type defined in a core Java Development Kit (JDK) or
Java Servlet Development Kit (JSDK). We'll discuss JSP's implicit objects in greater detail in
Chapter 15, “JSP Implicit Objects.”
T
ABLE
14.3
The JSP Implicit Objects
Implicit
Variable
Type
Description
Scope
Represents the servlet
Application
application
javax.servlet.Servlet
context returned from a
call to
getServletConfig().
getContext()
Context
Represents the
Servlet
Page
config
javax.servlet.Servlet
Config
for this JSP
Config
Represents the uncaught
Page
exception
java.lang.Throwable
Throwable
that resulted
from a call to the error
page
14
Represents the
JspWriter
Page
out
javax.servlet.jsp.
object to the output stream
JspWriter
Represents the
this
Page
page
java.lang.Object
object for this instance of
the JSP
Represents the page
Page
pageContext
javax.servlet.jsp.
context for the JSP
PageContext
Protocol-dependent
Represents the request
Request
request
subtype of either
object that triggered the
request
javax.servlet.Servlet
Request
or
javax.
servlet.HttpServlet
Request