jasp.servlet
Class ServletBase

jasp.servlet.ServletBase

public abstract class ServletBase

All generated servlets extend this servlet.


Constructor Summary
ServletBase()
           
 
Method Summary
 void doGet(jasp.servlet.HttpServletRequest req, jasp.servlet.HttpServletResponse resp)
          Called by the server (via the service method) to allow a servlet to handle a GET request.
 void doPost(jasp.servlet.HttpServletRequest req, jasp.servlet.HttpServletResponse resp)
          Called by the server (via the service method) to allow a servlet to handle a POST request.
 void doPut(jasp.servlet.HttpServletRequest req, jasp.servlet.HttpServletResponse resp)
          Called by the server (via the service method) to allow a servlet to handle a PUT request.
 void End()
          End the current Servlet.
 java.lang.String getGlobalAsaClassName()
          Gets the Global class name that is invoked by this Servlet.
 java.lang.String getServletInfo()
          Returns information about the servlet.
 void init(jasp.servlet.ServletConfig config)
           
 void printStackTrace(java.lang.Exception ex)
          Writes the stack trace of Exception to client.
 void service(jasp.servlet.HttpServletRequest request, jasp.servlet.HttpServletResponse response)
          Servlet service.
 void servletinit(jasp.servlet.HttpServletRequest request, jasp.servlet.HttpServletResponse response)
          Initializes Built-In and vbErr objects
 

Constructor Detail

ServletBase

public ServletBase()
Method Detail

init

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

doPost

public void doPost(jasp.servlet.HttpServletRequest req,
                   jasp.servlet.HttpServletResponse resp)
            throws jasp.servlet.ServletException,
                   java.io.IOException
Called by the server (via the service method) to allow a servlet to handle a POST request.

doGet

public void doGet(jasp.servlet.HttpServletRequest req,
                  jasp.servlet.HttpServletResponse resp)
           throws jasp.servlet.ServletException,
                  java.io.IOException
Called by the server (via the service method) to allow a servlet to handle a GET request.

doPut

public void doPut(jasp.servlet.HttpServletRequest req,
                  jasp.servlet.HttpServletResponse resp)
           throws jasp.servlet.ServletException,
                  java.io.IOException
Called by the server (via the service method) to allow a servlet to handle a PUT request.

getServletInfo

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

service

public void service(jasp.servlet.HttpServletRequest request,
                    jasp.servlet.HttpServletResponse response)
             throws jasp.servlet.ServletException,
                    java.io.IOException
Servlet service.

servletinit

public void servletinit(jasp.servlet.HttpServletRequest request,
                        jasp.servlet.HttpServletResponse response)
                 throws java.lang.Exception
Initializes Built-In and vbErr objects

End

public void End()
End the current Servlet.

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 class name that is invoked by this Servlet.