Location.replace worked perfectly. Thanks.
-Original Message-
From: Bartley, Chris P [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 6:22 PM
To: 'Struts Users Mailing List'
Subject: RE: Back button skip a page?
Check out the javascript method location.replace()...i think
Maybe in your show results action, a session variable can be set that the
person saw the results. Then if they go to the Request is being processed
page, the page can check to see the the results were seen, and if yes,
automatically redirect to the results page. You'll probably have to make
You are trying to change the behavior of the users browser.
My best advice
Dont do that!
Maybe you can salvage a hack from this
http://developer.irt.org/script/311.htm
Best of luck!!!
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
Check out the javascript method location.replace()...i think that'll do
exactly whatcha want.
If i remember/understand correctly, i think your wait page could do a
script
location.replace(results.htm);
/script
So, then, on results.htm, clicking the back button should indeed go to the
form page
4 matches
Mail list logo