|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.apache.jasper.runtime.HttpJspBase
This is the subclass of all JSP-generated servlets.
| Method Summary | |
abstract void |
_jspService(HttpServletRequest request,
HttpServletResponse response)
_jspService corresponds to the body of the JSP page. |
void |
destroy()
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. |
java.lang.String |
getServletInfo()
Returns information about the servlet, such as author, version, and copyright. |
void |
init(ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. |
void |
jspDestroy()
jsp_destroy() is invoked when the JspPage is about to be destroyed. |
void |
jspInit()
jsp_init() is invoked when the JspPage is initialized. |
void |
service(HttpServletRequest request,
HttpServletResponse response)
Entry point into service. |
void |
setClassLoader(java.lang.ClassLoader cl)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Servlet |
getServletConfig, service |
| Method Detail |
public final void init(ServletConfig config)
throws ServletException
ServletThe servlet container calls the init
method exactly once after instantiating the servlet.
The init method must complete successfully
before the servlet can receive any requests.
The servlet container cannot place the servlet into service
if the init method
ServletException
init in interface Servletinit in class GenericServletjavax.servlet.Servletconfig - a ServletConfig object
containing the servlet's
configuration and initialization parametersServletException - if an exception has occurred that
interferes with the servlet's normal
operationUnavailableException,
Servlet.getServletConfig()public java.lang.String getServletInfo()
ServletThe string that this method returns should be plain text and not markup of any kind (such as HTML, XML, etc.).
getServletInfo in interface ServletgetServletInfo in class GenericServletjavax.servlet.ServletString containing servlet informationpublic final void destroy()
Servletservice method have exited or after a timeout
period has passed. After the servlet container calls this
method, it will not call the service method again
on this servlet.
This method gives the servlet an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the servlet's current state in memory.
destroy in interface Servletdestroy in class GenericServletpublic final void setClassLoader(java.lang.ClassLoader cl)
public final void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
public void jspInit()
JspPagejspInit in interface JspPagepublic void jspDestroy()
JspPagejspDestroy in interface JspPage
public abstract void _jspService(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
HttpJspPage_jspService in interface HttpJspPage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||