aspose file tools*
The moose likes Struts and the fly likes how i can redirect (without loosing session) to a full url from jsp page in struts. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how i can redirect (without loosing session) to a full url from jsp page in struts." Watch "how i can redirect (without loosing session) to a full url from jsp page in struts." New topic
Author

how i can redirect (without loosing session) to a full url from jsp page in struts.

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post
I have a problem.
problem is :
I should go back to last visited page after my user login or changed locale or ..
i can retrive las visited page : by using request.getheader("Referer")
and i store it into a session variable.
No after my user loged in i should forward?redirect? or sending him/her back to that url
without loosing his/her session
Problem is : its a full url and i just can redirect ro a sub url in my context? (pleas correct me if i am wrong)

how i can send my visitor back to thier page which i stored in session ?
for example is there any tag in jsp or struts for it?


Thank you
 
wood burning stoves
 
subject: how i can redirect (without loosing session) to a full url from jsp page in struts.