You are getting a "Page Expired" because the page you're trying to go back to was produced by a POSTed form. The browser won't rePOST data to the server unless the user explicitly allows it to (as a "security precaution"). If you want to redisplay form results without the Page Expired message, either (a) use GET in submitting the form, or (b) redirect to the display page after processing the POSTed form.
Hubert On Wed, 15 Sep 2004 18:22:33 -0500, Arumbakkam, Praveen (Contractor) <[EMAIL PROTECTED]> wrote: > Hello and thank you in advance for your reply! > > Problem Summary: > --------------- > Unable to eliminate "Page Expired" error when a user hits on the Browser > "Back" button in Internet Explorer 6.x. Hence, Seeking input from the > Struts community! > > App Overview: > ------------- > A Stateful Session Bean & CMP based J2EE application using Struts 1.1 > application built using WSAD 5.0.1 Integration Edition, talking to a > DB2 8.1 UDB and deployed on WAS 5.0.2 EE. > > Browser - Internet Explorer 6.x on Windows XP SP1. > > Problem: > -------- > Although I implemented a collections based "Back" button > concept(Allowing the user to physically store page names from the > start of the business process till the end of the submission and then > clearing the stack!) to implement the "back-button" functionality on > the page to override the Browser back button, my superiors insist that > I "Do something" about making the browser's back button to work with > the App without any "Page Unavailable" errors and manual page > refreshing! > > I have tried "googled" solutions, including the following from > other struts-user groups etc.: > > 1. Physically setting the META headers "Cache-Control" and "Pragma" as > per W3C recommendations in the JSP's. > > 2. Using servlet response to set headers with expiration date to the > past, and including the headers outlined in solution 1. above. > > 3. Adding <controller> tag entry and setting nocache=true > i.e. <controller nocache="true" /> in struts config. > > I have been trying to enable this feature but couldn't find any proper > documentation. Although "Struts in Action" refers to programmatically > altering the RequestProcessor by extending it and then altering the > default controller settings (overriding processNoCache method), I > can't find anything else. If there is an easier way, I would appreciate > if any of you can share your thoughts on this. > > I have tried to extend RequestProcessor and override the process() > method. Should I be trying to override some other method? What am I > doing wrong? > The ultimate aim is to do a "Wizard" style app functionality using the > browser "back" button! > > Some say that this is a IE bug (headers greater than 64 kb get ignored > and IE reverts to default settings), the explanation of which I am not > satisfied with! > > Any response is appreciated and thank you for your time! > > Regards.. > > Praveen > > --------------------------------------------------------------------- > 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]