• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Netscape 4.7

 
Bala Raj
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am submitting 3 jsp files one after other (meaning Step1 -> Step2 -> Step3)
after going to Step3 I want to come back to Step2 by using browser Back button.
But the browser is giving the following error message:
"This document resulted from a POST operation and has expired from the cache. If you wish
you can repost the form data to recreate the document by pressing the reload button."
Can some one help me on this?
Thanks in advance.
Bala
[ February 07, 2002: Message edited by: Bala Rajamani ]
 
Arun Boraiah
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
response.setHeader("Expires","0");
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
Do you have this code in jsp?
-arun
 
Bala Raj
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arun,
I do have the following lines in my JSP file:
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Last-Modified" content="0" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
I am getting error only in Netscape not in IE.
Let me explain my exact problem:
In Step2 I have three drop down menus, and the page is refreshed upon selection from the each drop down list. Then the page is submitted using a submit button. From Step3 if I come back to step2 using back button, then I am getting the error message.
Bala
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!