Class AbstractSelectForward

java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSelectForward
All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>, ActionCommand
Direct Known Subclasses:
SelectForward

public abstract class AbstractSelectForward extends ActionCommandBase

Select and cache the ActionForward for this ActionConfig if specified.

Version:
$Rev$ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005) $
  • Constructor Details

    • AbstractSelectForward

      public AbstractSelectForward()
  • Method Details

    • execute_

      protected boolean execute_(ActionContext actionCtx) throws Exception

      Select and cache the ActionForward for this ActionConfig if specified.

      Specified by:
      execute_ in class ActionCommandBase
      Parameters:
      actionCtx - The Context for the current request
      Returns:
      false so that processing continues
      Throws:
      Exception - if thrown by the Action class
    • forward

      protected abstract ForwardConfig forward(ActionContext context, ModuleConfig moduleConfig, String uri)

      Create and return a ForwardConfig representing the specified module-relative destination.

      Parameters:
      context - The context for this request
      moduleConfig - The ModuleConfig for this request
      uri - The module-relative URI to be the destination
      Returns:
      ForwwardConfig representing the destination