org.enableit.db.darrt.web
Class DarrtActionServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.apache.struts.action.ActionServlet
                    |
                    +--org.enableit.db.darrt.web.DarrtActionServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DarrtActionServlet
extends org.apache.struts.action.ActionServlet

Sepcialisation of the Struts ActionServlet to prepare the application context for Darrt specific Actions.

All of the standard Struts behaviour is preserved intact, so that non-darrt Actions need never know the difference from the normal Struts ActionServlet.

Author:
Tim Stephenson
See Also:
Serialized Form

Field Summary
static java.lang.String ABOUT
          CVS info ABOUT this class and its current version
 
Fields inherited from class org.apache.struts.action.ActionServlet
config, configDigester, convertNull, dataSources, debug, detail, internal, internalName, log, processor, registrations, servletMapping, servletName
 
Constructor Summary
DarrtActionServlet()
          Default Constructor
 
Method Summary
 void init()
          Initialisation of the Struts and Darrt code.
protected  void initApplicationMessageResources(org.apache.struts.config.ApplicationConfig applicationConfig)
           
 
Methods inherited from class org.apache.struts.action.ActionServlet
addServletMapping, destroy, destroyApplications, destroyConfigDigester, destroyDataSources, destroyInternal, doGet, doPost, findDataSource, findFormBean, findForward, findMapping, getApplicationConfig, getDebug, getInternal, getRequestProcessor, getResources, initApplicationConfig, initApplicationDataSources, initApplicationPlugIns, initConfigDigester, initDataSources, initInternal, initOther, initServlet, log, process
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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

ABOUT

public static final java.lang.String ABOUT
CVS info ABOUT this class and its current version

See Also:
Constant Field Values
Constructor Detail

DarrtActionServlet

public DarrtActionServlet()
Default Constructor

Method Detail

init

public void init()
          throws javax.servlet.ServletException
Initialisation of the Struts and Darrt code.

Most of the processing has been factored into support methods so that you can override particular functionality at a fairly granular level.

Overrides:
init in class org.apache.struts.action.ActionServlet
Throws:
javax.servlet.ServletException - - if we cannot configure ourselves correctly

initApplicationMessageResources

protected void initApplicationMessageResources(org.apache.struts.config.ApplicationConfig applicationConfig)
                                        throws javax.servlet.ServletException
Overrides:
initApplicationMessageResources in class org.apache.struts.action.ActionServlet
javax.servlet.ServletException


Copyright © 1999-2004 enableIT.org. All Rights Reserved.