Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hsqldb
Class Servlet  view Servlet download Servlet.java

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)

Version:
1.7.0

Field Summary
private  Database dDatabase
           
private static int iQueries
           
private static long lModified
           
private  java.lang.String sDatabase
           
private  java.lang.String sError
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
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
protected  long getLastModified(javax.servlet.http.HttpServletRequest req)
          Method declaration
 void init(javax.servlet.ServletConfig config)
          Method declaration
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sError

private java.lang.String sError

dDatabase

private Database dDatabase

sDatabase

private java.lang.String sDatabase

lModified

private static long lModified

iQueries

private static int iQueries
Constructor Detail

Servlet

public Servlet()
Method Detail

init

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


getLastModified

protected long getLastModified(javax.servlet.http.HttpServletRequest req)
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


doPost

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