Class AbstractSelectAction

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

public abstract class AbstractSelectAction extends ActionCommandBase

Cache the ActionConfig instance for the action to be used for processing this request.

Version:
$Rev$ $Date: 2005-11-05 21:44:59 -0500 (Sat, 05 Nov 2005) $
  • Constructor Details

    • AbstractSelectAction

      public AbstractSelectAction()
  • Method Details

    • execute_

      protected boolean execute_(ActionContext actionCtx) throws Exception

      Cache the ActionConfig instance for the action to be used for processing this request.

      Specified by:
      execute_ in class ActionCommandBase
      Parameters:
      actionCtx - The Context for the current request
      Returns:
      false so that processing continues
      Throws:
      InvalidPathException - if no valid action can be identified for this request
      Exception - if thrown by the Action class
    • getPath

      protected abstract String getPath(ActionContext context)

      Return the path to be used to select the ActionConfig for this request.

      Parameters:
      context - The Context for this request
      Returns:
      Path to be used to select the ActionConfig