DLESE Tools
v1.6.0

org.dlese.dpc.schemedit
Class ActionServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.struts.action.ActionServlet
              extended by org.dlese.dpc.schemedit.ActionServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

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

ActionServlet

Author:
Jonathan Ostwald

$Id: ActionServlet.java,v 1.8 2009/07/07 02:59:59 ostwald Exp $

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionServlet
config, configDigester, convertNull, dataSources, internal, internalName, log, processor, registrations, servletMapping, servletName
 
Constructor Summary
ActionServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          The standard required servlet method, just parses the request header for known parameters.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Standard doPost method forwards to doGet
 List getActionMappings()
           
static String getDateStamp()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 void init()
           
protected  void process(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.action.ActionServlet
addServletMapping, destroy, destroyConfigDigester, destroyInternal, destroyModules, getInternal, getModuleConfig, getRequestProcessor, initConfigDigester, initInternal, initModuleConfig, initModuleConfigFactory, initModuleDataSources, initModuleMessageResources, initModulePlugIns, initModulePrefixes, initOther, initServlet, parseModuleConfigFile
 
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
 

Constructor Detail

ActionServlet

public ActionServlet()
Method Detail

init

public void init()
          throws ServletException
Overrides:
init in class org.apache.struts.action.ActionServlet
Throws:
ServletException

getActionMappings

public List getActionMappings()

process

protected void process(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       IOException
Overrides:
process in class org.apache.struts.action.ActionServlet
Throws:
ServletException
IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Standard doPost method forwards to doGet

Overrides:
doPost in class org.apache.struts.action.ActionServlet
Parameters:
request -
response -
Throws:
ServletException
IOException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
The standard required servlet method, just parses the request header for known parameters. The doPost method just calls this one. See HttpServlet for details.

Overrides:
doGet in class org.apache.struts.action.ActionServlet
Parameters:
request -
response -
Throws:
ServletException
IOException

getDateStamp

public static String getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:

Returns:
The dateStamp value

DLESE Tools
v1.6.0