It is a little cleaner to save the action in the form bean.  This gives you
a little more user navigation flexiblity.  I even like to save the stack of
actions in the bean which gives you the option of giving a controlled
simulation of the back button.  Of course if you are going to do that you
might have to save some other stuff in order to properly navigate back.

Edgar

> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 21, 2003 11:37 AM
> To: '[EMAIL PROTECTED]'
> Subject: Re: [Q] Return-to-page - is there a slick solution?
> 
> 
> >I could easily track that info in the first action step, put it into 
> >the session scope and then pop back there at the end. But 
> that seems to 
> >circumvent the entire struts action forwarding mechanism.
> 
> Not if you store the action name in the session in the first 
> step and have 
> the last step call mapping.findForward(storedName);
> 
> David
> 
> _________________________________________________________________
> 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]

Reply via email to