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 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 since the wait page was never added to the history. chris > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 4:26 PM > To: [EMAIL PROTECTED] > Subject: Back button skip a page? > > > Jerome, > > This may have only limited usefulness, but you may be able > use the document's history object to skip the "wait" page in > the browser's history. > Something like: (Javascript) > window.history.go(-2) > but I'm not exactly sure how to detect the event that the > user clicks the back button. > > "Jerome Jacobsen" <[EMAIL PROTECTED]> wrote: > > >This may not be possible, but I hope it is. I have a "Your > request is being > >processed, please wait.." page. Once the user gets to the > results page and > >hit their browser's Back button I want to skip that "Wait" page. > > > >Here is the page flow: > >Form Page -> Wait Page -> Results Page > > > > > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>