Solved my problem:
ActionContext ac = (ActionContext)context;
ac.setForwardConfig(new ActionForward("/myaction.do"));
If anyone has a cleaner, non-hardcoded my, I'm all ears!
Thanks,
Joe
Joseph McGranaghan wrote:
This should be simple, but for the life of me I can't get find the
answer.
All I want to do is have a chain execute and then go to an action
<forward>
Right now it goes through the chain and outputs a blank web page with
no source code at all.
struts-config:
<action path="/preprocess_myaction" scope="request"
catalog="mycatalog" command="mychain">
<forward name="myaction" path="/myaction.do" />
</action>
<action path="/myaction" forward="tile.myaction" />
chain-config:
<?xml version="1.0" ?>
<catalog name="mycatalog">
<chain name="mychain">
<command id="GetSomethingAndPutInRequest"
className="com.draegoonZ.GetSomethingAndPutInRequest" />
</chain>
</catalog>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]