struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manfred Wolff <wo...@manfred-wolff.de>
Subject Re: Go Back
Date Mon, 29 May 2006 10:18:14 GMT

Exactly No. 2 does
http://www.manfred-wolff.de/struts/articles/HowTo-Back.html

Manfred

Emilia Ipate wrote:
> There are 2 ways for doing it:
> 1. on client side:
> 	- use javascript: history.back() or history.go(-1)
> 	This solution is very fast because the browser loads the page
> quite fast as from the client's PC (does not go to the server)
> 2. on the server side
> 	- in the your RequestProcessor store each request on the session
> and so when the user asks for the previous page, you give him the url of
> the page previously stored in the session.
>
>
> Kind regards,
> Emilia
>
> -----Original Message-----
> From: Shervin Asgari [mailto:shervin@linpro.no] 
> Sent: maandag 29 mei 2006 9:59
> To: Struts Users Mailing List
> Subject: Go Back
>
>
> Hello. I was wondering. Is there a way in struts to go back to the 
> previous page. Like hitting back button?
>
> I have a confirmation page, and I want when the user hits the cancel 
> button for it to be redirected to the previous page. Currently I have an
>
> ActionForward which returns
>
> mapping.findForward("SomePage.page");
>
> Shervin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>   


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


Mime
View raw message