S2 Forward to previous view (GoBack)

2010-03-08 Thread Marsman

Hi!

how can I forward to the previous view (for a go back button)? I've read
about dynamic results. But how can I determine the view, the user comes
from? Or is there an easier way to implement this (without javascript)?

Titus

-- 
View this message in context: 
http://old.nabble.com/S2-Forward-to-previous-view-%28GoBack%29-tp27818680p27818680.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: S2 Forward to previous view (GoBack)

2010-03-08 Thread Girish Naik
Suppose the user is in Page 'A' and then he is redirected to 'B', now on
page 'B' you want to redirect him to page 'A'.

So we can do this by getting the request.getHeader(referer) on the
submitting action of page 'A' and store it in page 'B' 's go back button.


Regards,
-
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com


On Mon, Mar 8, 2010 at 2:34 PM, Marsman mars@gmx.de wrote:


 Hi!

 how can I forward to the previous view (for a go back button)? I've read
 about dynamic results. But how can I determine the view, the user comes
 from? Or is there an easier way to implement this (without javascript)?

 Titus

 --
 View this message in context:
 http://old.nabble.com/S2-Forward-to-previous-view-%28GoBack%29-tp27818680p27818680.html
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org