Java Reference
In-Depth Information
The javax.servlet.jsp package makes up the bulk of the Java Server Pages API. It is cov-
ered completely in the following sections. Figure D.1 contains the javax.servlet.jsp object
model.
<<Interface>>
javax.servlet.Servlet
java.lang.Object
<<Interface>>
JspPage
JspEngineInfo
JspFactory
PageContext
<<Interface>>
HttpJspPage
java.lang.Exception
java.io.Writer
JspException
JspWriter
JspError
F IGURE D.1
The javax.servlet.jsp Object Model.
Interfaces
The javax.servlet.jsp package has two interfaces: HttpJspPage and JspPage .
The HttpJspPage Interface
public interface HttpJspPage extends JspPage
This is the interface that a JSP processor-generated class for the HTTP protocol must satisfy. It
extends JspPage and defines a single method.
The _jspService() Method
public void _jspService(
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
Search WWH ::




Custom Search