You can create and return new ActionForwards and return them from Actions. David
From: "Joe Barefoot" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts user (E-mail)" <[EMAIL PROTECTED]>
Subject: legal to create new ActionForward in 1.1b3?
Date: Wed, 12 Feb 2003 14:37:44 -0800
Hi all,
So I see that the call to setRedirect() in the new ActionForward class will cause an exception if called at runtime (after the configuration is frozen). I wasn't expecting this, as I previously thought that only the ActionMapping(s) config was frozen. We can obviously work around this, but...really need to add a note to the javadocs (or something).
There are no problems with creating a new ActionForward and returning it from an Action, right? If so, when we need to change the redirect flag, we can just make a "copy" of the current ActionForward, setting redirect to the value we desire, and return it, yes?
thanks,
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

