org.hsqldb
Class Servlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.hsqldb.Servlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Servlet
extends javax.servlet.http.HttpServlet

Servlet acts as a interface between the applet and the database for the the client / server mode of HSQL Database Engine. It is not required if the included HSQL Database Engine WebServer is used, but if another HTTP server is used. The HTTP Server must support the Servlet API.
This class should not be used directly by the application. It will be called by the HTTP Server. The applet / application should use the jdbc* classes.
The database name is taken from the servlet engine (extranal webserver) property hsqldb.server.database (fredt@users)

See Also:
Serialized Form

Constructor Summary
Servlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method declaration
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method declaration
 void init(javax.servlet.ServletConfig config)
          Method declaration
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
Method declaration


doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Method declaration

Parameters:
request -
response -
Throws:
java.io.IOException
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
Method declaration

Parameters:
request -
response -
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2001 - 2002 HSQL Development Group. All Rights Reserved.