Expresso 5-6

com.jcorporate.expresso.services.test
Class ActionTestServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.struts.action.ActionServlet
              extended bycom.jcorporate.expresso.core.controller.ExpressoActionServlet
                  extended bycom.jcorporate.expresso.services.test.ActionTestServlet
All Implemented Interfaces:
ControllerFactory, Serializable, Servlet, ServletConfig

Deprecated. since v5.6, no longer compatible with Struts 1.1

public class ActionTestServlet
extends ExpressoActionServlet

Same as action servlet, but includes a method to get at the ActionMappings for testing purposes.

Version:
$Revision: 1.10 $ $Date: 2004/11/17 20:48:22 $
Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
protected static ActionTestServlet thisInstance
          Deprecated.  
 
Fields inherited from class com.jcorporate.expresso.core.controller.ExpressoActionServlet
mapModuleConfig
 
Fields inherited from class org.apache.struts.action.ActionServlet
config, configDigester, convertNull, dataSources, debug, internal, internalName, log, processor, registrations, servletMapping, servletName
 
Constructor Summary
ActionTestServlet()
          Deprecated.  
 
Method Summary
 org.apache.struts.action.ActionMappings getActionMappings()
          Deprecated. For the Struts 1.1 do not use this method
static ActionTestServlet getInstance(ServletConfig config)
          Deprecated.  
 org.apache.struts.action.ActionForm processActionForm(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Deprecated. For the Struts 1.1 do not use this method
 org.apache.struts.action.ActionForward processActionPerform(org.apache.struts.action.Action action, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formInstance, HttpServletRequest request, HttpServletResponse response)
          Deprecated. For the Struts 1.1 do not use this method
 
Methods inherited from class com.jcorporate.expresso.core.controller.ExpressoActionServlet
destroy, getController, getController, getController, init, initExpressoFromConfigDirectory, initExpressoSubapplication, initModuleConfig, loadOneConfigFile
 
Methods inherited from class org.apache.struts.action.ActionServlet
addServletMapping, destroyApplications, destroyConfigDigester, destroyDataSources, destroyInternal, destroyModules, doGet, doPost, findDataSource, findFormBean, findForward, findMapping, getApplicationConfig, getDebug, getInternal, getModuleConfig, getRequestProcessor, getResources, initApplicationConfig, initApplicationDataSources, initApplicationMessageResources, initApplicationPlugIns, initConfigDigester, initDataSources, initInternal, initModuleDataSources, initModuleMessageResources, initModulePlugIns, 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

thisInstance

protected static ActionTestServlet thisInstance
Deprecated. 
Constructor Detail

ActionTestServlet

public ActionTestServlet()
Deprecated. 
Method Detail

getActionMappings

public org.apache.struts.action.ActionMappings getActionMappings()
Deprecated. For the Struts 1.1 do not use this method


getInstance

public static ActionTestServlet getInstance(ServletConfig config)
                                     throws ServletException
Deprecated. 
Throws:
ServletException

processActionForm

public org.apache.struts.action.ActionForm processActionForm(org.apache.struts.action.ActionMapping mapping,
                                                             HttpServletRequest request)
Deprecated. For the Struts 1.1 do not use this method

See Also:
This is simply a publicly accessable override.

processActionPerform

public org.apache.struts.action.ActionForward processActionPerform(org.apache.struts.action.Action action,
                                                                   org.apache.struts.action.ActionMapping mapping,
                                                                   org.apache.struts.action.ActionForm formInstance,
                                                                   HttpServletRequest request,
                                                                   HttpServletResponse response)
                                                            throws IOException,
                                                                   ServletException
Deprecated. For the Struts 1.1 do not use this method

Throws:
IOException
ServletException
See Also:
This is simply a publicly accessable override.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.