Hi, Thanks Marcelo,
For the back button of the browser I have disabled it because user does "tax declaration" on the web site. The problem with the back button of the browser is to handle the values typed by the user 3 pages ago...so if the user go back on this page, the form is empty...so I prefer to forbid this action...(using javascript : action.history.forward(1)) Moreover I do not know if when the user press the back button, if the browser call back the JSP page or the struts action? but I would like to be able to redirect the user to the previous page by calling the appropriate struts action. I would like to know how webmaster usually do this behaviour.... TIA ----- Original Message ----- From: Marcelo Morales To: Struts Users Mailing List Cc: Gaet Sent: Thursday, January 12, 2006 10:32 PM Subject: Re: Session Attribute strange behaviour Hello again On Jan 12, 2006, at 4:19 AM, Gaet wrote: > Thanks all for your reply! > > Michael : What are "navigation buttons"? an applet, a dhtml > framework? Have you a link? thanks He is questioning your requirement. It does not seem reasonable to put a link to the last page visited when the browser has a built-in "go back" button. I do press the back button ... a lot. > > Shawn : Sorry but I always get "backUrl is NULL" and not "backUrl > is NOT NULL"...so as I think like you on the process, I wonder why > I get "backUrl is NULL"...Thanks Sorry, haven't look closely at his answer > > Marcelo : the refere header will give me back the last visited page > i think or I want to retrieve the struts action that redirect to > this page... I used this long long time ago and... frankly ... I don't remember. Just try it and put your findings here or in the wiki. Also, if you use the referer remember it is browser-generated and, as a principle, you can't trust user input... > > If you can help again...it would be great > > Thanks, > > Gaet' > Regards Marcelo Morales --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]