jasp.servlet
Class JspBase

jasp.servlet.JspBase

public abstract class JspBase

The class is the base serlvet of the generated Jsp.


Constructor Summary
JspBase()
           
 
Method Summary
abstract  void _jspService(jasp.servlet.HttpServletRequest request, jasp.servlet.HttpServletResponse response)
          The _jspService()method 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
 void End()
          End the current Jsp page.
 java.lang.String getGlobalAsaClassName()
          Gets the Global.asa class name that is invoked by this JSP.
 java.lang.String getServletInfo()
          Returns information about the servlet.
 void init(jasp.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 jspinit(jasp.servlet.HttpServletRequest request, jasp.servlet.HttpServletResponse response, jasp.servlet.ServletContext application, jasp.servlet.JspWriter out)
          Initializes Built-In and vbErr objects
 void jspinit(jasp.servlet.HttpServletRequest request, jasp.servlet.HttpServletResponse response, jasp.servlet.ServletContext application, jasp.servlet.JspWriter out, java.lang.String app)
          Initializes Built-In and vbErr objects
 void printStackTrace(java.lang.Exception ex)
          Writes the stack trace of Exception to client.
 void service(jasp.servlet.HttpServletRequest request, jasp.servlet.HttpServletResponse response)
          Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class
 

Constructor Detail

JspBase

public JspBase()
Method Detail

init

public final void init(jasp.servlet.ServletConfig config)
                throws jasp.servlet.ServletException

getServletInfo

public java.lang.String getServletInfo()
Returns information about the servlet.

destroy

public final void destroy()
Called by the Servlet container to indicate to a servlet that the servlet is being taken out of service

service

public final void service(jasp.servlet.HttpServletRequest request,
                          jasp.servlet.HttpServletResponse response)
                   throws jasp.servlet.ServletException,
                          java.io.IOException
Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class

jspInit

public void jspInit()
The jspInit() method is invoked when the JSP page is initialized.

jspDestroy

public void jspDestroy()
The jspDestroy() method is invoked when the JSP page is about to be destroyed.

_jspService

public abstract void _jspService(jasp.servlet.HttpServletRequest request,
                                 jasp.servlet.HttpServletResponse response)
                          throws jasp.servlet.ServletException,
                                 java.io.IOException
The _jspService()method corresponds to the body of the JSP page. This method is defined automatically by the JSP container .

jspinit

public void jspinit(jasp.servlet.HttpServletRequest request,
                    jasp.servlet.HttpServletResponse response,
                    jasp.servlet.ServletContext application,
                    jasp.servlet.JspWriter out,
                    java.lang.String app)
             throws java.lang.Exception
Initializes Built-In and vbErr objects
Parameters:
app - the application name, if your ASP application has Global.asa, the Global class name will be 'app-name'.Global, this rule make your Global class can be invoked directly.

jspinit

public void jspinit(jasp.servlet.HttpServletRequest request,
                    jasp.servlet.HttpServletResponse response,
                    jasp.servlet.ServletContext application,
                    jasp.servlet.JspWriter out)
             throws java.lang.Exception
Initializes Built-In and vbErr objects

End

public void End()
End the current Jsp page.

printStackTrace

public void printStackTrace(java.lang.Exception ex)
                     throws java.lang.Exception
Writes the stack trace of Exception to client.

getGlobalAsaClassName

public java.lang.String getGlobalAsaClassName()
Gets the Global.asa class name that is invoked by this JSP.