Class SuperServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--SuperServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
AddNewTopic, AddReplyToTopic, UserHandler, UserSession, ViewForum, ViewSubjects, ViewTopic

public class SuperServlet
extends javax.servlet.http.HttpServlet

This class implements a servlet for viewing the forum. It is intended to be inherited by other ViewServlets. It uses different tables in database: 'db_03_peta_la' at 'atlas.dsv.su.se'.

It uses the db- and the forum-package for accessing and communication with the database.

Version:
$Revision: 1.0.1, 2003-11-04 $
Author:
Peter Larsson
See Also:
Serialized Form

Constructor Summary
SuperServlet()
           
 
Method Summary
 void destroy()
          Releases the servlets resources.
 void init()
          The init-method which is run when servlet is run for the first time.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
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

SuperServlet

public SuperServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException

The init-method which is run when servlet is run for the first time.

Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException - The standard ServletException

destroy

public void destroy()
Releases the servlets resources. First, the connection pool is requested to close all it's connections. Then, destroy() in super class is called.
Overrides:
destroy in class javax.servlet.GenericServlet