Anyframe Web

anyframe.web.struts.action
Class DefaultForwardAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.springframework.web.struts.ActionSupport
          extended by anyframe.web.struts.action.AbstractActionSupport
              extended by anyframe.web.struts.action.DefaultForwardAction

public class DefaultForwardAction
extends AbstractActionSupport

The class expanding the anyframe.web.struts.action.AbstractActionSupport. It has the same functionality as org.apache.struts.action.ActionForward. At the execution of process method, it leaves a log.

Author:
Byunghun Woo

Field Summary
protected static org.apache.struts.util.MessageResources messages
          The message resources for this package.
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
DefaultForwardAction()
           
 
Method Summary
 org.apache.commons.logging.Log getLogger()
          Core Framework Delegation Util Method to get Logger
 org.apache.struts.action.ActionForward process(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 
Methods inherited from class anyframe.web.struts.action.AbstractActionSupport
execute, getService, postProcess, preProcess, processCheckedException, processFinally, processInvalidTokenException, processUnCheckedException
 
Methods inherited from class org.springframework.web.struts.ActionSupport
getMessageSourceAccessor, getServletContext, getTempDir, getWebApplicationContext, initWebApplicationContext, onDestroy, onInit, setServlet
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messages

protected static org.apache.struts.util.MessageResources messages
The message resources for this package.

Constructor Detail

DefaultForwardAction

public DefaultForwardAction()
Method Detail

getLogger

public org.apache.commons.logging.Log getLogger()
                                         throws org.apache.struts.util.ModuleException
Core Framework Delegation Util Method to get Logger

Overrides:
getLogger in class AbstractActionSupport
Throws:
org.apache.struts.util.ModuleException

process

public org.apache.struts.action.ActionForward process(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). Return an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.

Specified by:
process in class AbstractActionSupport
Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
The forward to which control should be transferred, or null if the response has been completed.
Throws:
java.lang.Exception - if an error occurs

Anyframe Web

Copyright © 2008-2009 Samsung SDS. All Rights Reserved.