StrutsChain/ActionAndChain

HomePage | StrutsChain | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 15c15
* If the chain ends with an ActionForward? in the right place, that forward will be taken.
* If the chain ends with an ActionForward in the right place, that forward will be taken.

With both a chain and an action in struts-config.xml...

     <action path="/Test5"
             command="preAction"
             type="net.wsmoak.chain.webapp.MyAction"
             scope="request">
            <forward  name="success" path="test5.jsp"/>
     </action>

... first the command (or chain) called 'preAction' is executed.

What I think will happen:

Is this by design, or just the way it happens to work because of the order of items in the 'struts' request processing chain?


HomePage | StrutsChain | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited March 16, 2006 11:57 am by WendySmoak (diff)
Search: