struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <quere...@etilize.com>
Subject Re: How can I redirect a user to the previous page ?
Date Sat, 01 Feb 2003 15:38:20 GMT
Save the url in session against some key and use that to forward to when
done on the second page. This way you can send the user to any page he/she
came from.

Affan

----- Original Message -----
From: "Claude Glauser" <claude.glauser@smile.ch>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Saturday, February 01, 2003 5:05 PM
Subject: How can I redirect a user to the previous page ?


> Hi,
>
> I have a struts action to change the language.
> A link to this action is in the mainmenu of
> the webapplication. This link is always visible
> in the browser (while in my webapp).
> How can I redirect to the page the user
> was and display it in the selected language ?
>
> Is there a way to get the url where to user
> was previously ?
>
> Thanks for any hints.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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


Mime
View raw message