public abstract class HttpJspBase extends javax.servlet.http.HttpServlet implements HttpJspPage
Modifier | Constructor and Description |
---|---|
protected |
HttpJspBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
_jspDestroy() |
void |
_jspInit() |
abstract void |
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The _jspService()method corresponds to the body of the JSP page.
|
void |
destroy() |
String |
getServletInfo() |
void |
init(javax.servlet.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Entry point into service.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
public final void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
public final void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public final void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void jspInit()
JspPage
public void _jspInit()
public void jspDestroy()
JspPage
jspDestroy
in interface JspPage
protected void _jspDestroy()
public abstract void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
HttpJspPage
If 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 HttpJspPage
request
- Provides client request information to the JSP.response
- Assists the JSP in sending a response to the client.javax.servlet.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 © 2022. All rights reserved.