Servlet
HttpJspPage
public interface JspPage extends Servlet
The interface defines a protocol with 3 methods; only two of them: jspInit() and jspDestroy() are part of this interface as the signature of the third method: _jspService() depends on the specific protocol used and cannot be expressed in a generic way in Java.
A class implementing this interface is responsible for invoking the above methods at the apropriate time based on the corresponding Servlet-based method invocations.
The jspInit(0 and jspDestroy() methods can be defined by a JSP author, but the _jspService() method is defined authomatically by the JSP processor based on the contents of the JSP page.
Modifier and Type | Method | Description |
---|---|---|
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.
|
destroy, getServletConfig, getServletInfo, init, service
Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.