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

Quick Search    Search Deep

gsoft.xervlet
Class BaseDBXervlet  view BaseDBXervlet download BaseDBXervlet.java

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

public abstract class BaseDBXervlet
extends javax.servlet.http.HttpServlet


Field Summary
(package private)  java.sql.Connection conn
           
private  boolean enableLogging
           
 java.util.Hashtable iHash
           
 java.lang.String INIFILE
           
 ServletSettings iniHash
           
private  long INVALIDATE_TIME
           
(package private)  java.io.PrintWriter out
           
(package private)  javax.servlet.http.HttpServletResponse response
           
(package private)  java.sql.ResultSet rs
           
private  javax.servlet.http.HttpSession session
           
(package private)  java.sql.Statement stmt
           
(package private)  long then
           
(package private)  long timer
           
(package private)  TagReader tReader
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
BaseDBXervlet()
           
 
Method Summary
 void construct()
           
abstract  java.lang.String getIniFileName()
           
protected  long getInvalidateTime()
           
protected  void multipartService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  void normalService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIFILE

public java.lang.String INIFILE

iniHash

public ServletSettings iniHash

iHash

public java.util.Hashtable iHash

response

javax.servlet.http.HttpServletResponse response

tReader

TagReader tReader

out

java.io.PrintWriter out

INVALIDATE_TIME

private long INVALIDATE_TIME

enableLogging

private boolean enableLogging

session

private javax.servlet.http.HttpSession session

stmt

java.sql.Statement stmt

conn

java.sql.Connection conn

rs

java.sql.ResultSet rs

then

long then

timer

long timer
Constructor Detail

BaseDBXervlet

public BaseDBXervlet()
Method Detail

getInvalidateTime

protected long getInvalidateTime()

getIniFileName

public abstract java.lang.String getIniFileName()

construct

public void construct()
               throws java.lang.Exception

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws java.io.IOException
Description copied from class: javax.servlet.http.HttpServlet
Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class. This method is an HTTP-specific version of the Servlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)>Servlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) 55 method. There's no need to override this method.


multipartService

protected void multipartService(javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse res)
                         throws java.io.IOException,
                                java.lang.Exception

normalService

protected void normalService(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res)
                      throws java.io.IOException