public abstract class HttpJspBase extends HttpServlet implements HttpJspPage
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJspBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_jspDestroy() |
void |
_jspInit() |
abstract void |
_jspService(HttpServletRequest request,
HttpServletResponse response)
The _jspService()method corresponds to the body of the JSP page.
|
void |
destroy() |
String |
getServletInfo() |
void |
init(ServletConfig config) |
void |
jspDestroy()
The jspDestroy() method is invoked when the JSP page is about to be
destroyed.
|
void |
jspInit()
The jspInit() method is invoked when the JSP page is initialized.
|
void |
service(HttpServletRequest request,
HttpServletResponse response)
Entry point into service.
|
public final void init(ServletConfig config)
throws ServletException
ServletExceptionpublic String getServletInfo()
public final void destroy()
public final void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
ServletExceptionIOExceptionpublic void jspInit()
JspPagepublic void _jspInit()
public void jspDestroy()
JspPagejspDestroy in interface JspPageprotected void _jspDestroy()
public abstract void _jspService(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
HttpJspPageIf a superclass is specified using the extends attribute, that superclass may choose to perform some actions in its service() method before or after calling the _jspService() method. See using the extends attribute in the JSP_Engine chapter of the JSP specification.
_jspService in interface HttpJspPagerequest - Provides client request information to the JSP.response - Assists the JSP in sending a response to the client.ServletException - Thrown if an error occurred during the
processing of the JSP and that the container should take
appropriate action to clean up the request.IOException - Thrown if an error occurred while writing the
response for this page.Copyright © 2014 Mort Bay Consulting. All Rights Reserved.