> From: Pietro Dansk [mailto:[EMAIL PROTECTED] 
> I want this form to simply return to the page or 
> action that it was
> previously at. What is the most elegant way to do this?

In Struts, everything goes forward so the "go back where you came from"
problem comes up repeatedly.  The 'coming from' page needs to put
something in the request so you can figure out where to go back to.
Then instead of looking up a forward from struts-config.xml, you can
construct a new one and return that.  Also consider that sometimes in
this situation you really want a redirect instead of a forward.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to