Class ExecuteAction

All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>, ActionCommand

public class ExecuteAction extends AbstractExecuteAction

Invoke the appropriate Action for this request, and cache the returned ActionForward.

Version:
$Rev$ $Date: 2005-05-07 12:11:38 -0400 (Sat, 07 May 2005) $
  • Constructor Details

    • ExecuteAction

      public ExecuteAction()
  • Method Details

    • execute

      protected ForwardConfig execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) throws Exception

      Execute the specified Action, and return the resulting ActionForward.

      Specified by:
      execute in class AbstractExecuteAction
      Parameters:
      context - The Context for this request
      action - The Action to be executed
      actionConfig - The ActionConfig defining this action
      actionForm - The ActionForm (if any) for this action
      Returns:
      ForwardConfig The next location, or null
      Throws:
      Exception - if thrown by the Action