java.lang.Object org.apache.struts.action.Action org.apache.struts.chain.legacy.ChainAction
Action implementation that delegates to a
configured Chain (or Command) for performing the actual business
logic related to a request. The name of the chain to be executed
is specified by setting the
parameter attribute of
<action> element configuring this action.
<action path="/myaction" type="org.apache.struts.chain.legacy.ChainAction" name="myform" scope="request" input="/mypage.jsp" parameter="name-of-chain-to-execute"
Prior to calling the specified chain (or command), this action
sets up a
Context object containing the relevant
properties, along with the following additional attributes:
ActionMappingpassed to our
ActionFormpassed to our
After execution of the specified command or chain is completed, the following context attributes are examined (in this order) to determine how to proceed.
java.lang.Exceptionis found here, it will be rethrown as the outcome of this action.
org.apache.struts.action.ActionForwardis found here, it will be returned as the outcome of this action. Otherwise,
nullwill be returned.
|Method from org.apache.struts.chain.legacy.ChainAction Summary:|
|Methods from java.lang.Object:|
|clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|
|Method from org.apache.struts.chain.legacy.ChainAction Detail:|
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
Delegate to the command chain specified in our configuration.
protected Catalog getCatalog()