com.pow2.acl.struts.action
Class ACLActionServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.struts.action.ActionServlet
              extended bycom.pow2.acl.struts.action.ACLActionServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

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

Ask the specified Action instance to handle this request.
If the input action subclasses ACLDispatcherAction, execute:


then execute the input action's perform method.

Author:
Luca Fossato
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionServlet
actions, application, bufferSize, config, content, dataSources, debug, defaultLocale, factoryClass, formBeanClass, formBeans, forwardClass, forwards, internal, internalName, locale, mappingClass, mappings, maxFileSize, multipartClass, nocache, registrations, servletMapping, servletName, tempDir, validate, validating
 
Constructor Summary
ACLActionServlet()
           
 
Method Summary
 void init()
          Initialize this servlet.
protected  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)
          Ask the specified Action instance to handle this request.
 
Methods inherited from class org.apache.struts.action.ActionServlet
addDataSource, addFormBean, addForward, addMapping, addServletMapping, destroy, destroyActions, destroyApplication, destroyDataSources, destroyInternal, doGet, doPost, findDataSource, findFormBean, findForward, findMapping, getBufferSize, getDebug, getFormBeanClass, getForwardClass, getMappingClass, getMaxFileSize, getMultipartClass, getResources, getTempDir, initActions, initApplication, initDataSources, initDebug, initDigester, initDigesterOld, initInternal, initMapping, initOther, initServlet, initUpload, log, process, processActionCreate, processActionForm, processActionForward, processContent, processForward, processInclude, processLocale, processMapping, processNoCache, processPath, processPopulate, processPreprocess, processValidate, reload, removeFormBean, removeForward, removeMapping, setBufferSize, setFormBeanClass, setForwardClass, setMappingClass, setMaxFileSize, setMultipartClass, setTempDir
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, 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

ACLActionServlet

public ACLActionServlet()
Method Detail

init

public void init()
          throws ServletException
Initialize this servlet.

Throws:
ServletException - if we cannot configure ourselves correctly

processActionPerform

protected 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
Ask the specified Action instance to handle this request.
If the input action subclasses ACLDispatcherAction, execute:


then execute the the input action's perform method.

Parameters:
action - The Action to process this request
mapping - The ActionMapping we are processing
formInstance - The ActionForm we are processing
request - The servlet request we are processing
response - The servlet response we are creating
Returns:
Description of the Return Value
Throws:
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs


Copyright © 2002-2003 Power Of Two S.R.L. All Rights Reserved.