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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]