This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Data Missing error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Data Missing error" Watch "Data Missing error" New topic
Author

Data Missing error

sameera kocharekar
Greenhorn

Joined: Apr 23, 2001
Posts: 23
Hi guys
I have a jsp page which takes some parameters from the user when i submit the page i check for some errors and if there are no errors then forward it to another page
Now if i use the browsers back button to go 1 step back it gives me an error
"Data Missing !!!
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. "

Then if i again click on Back button of browser then it takes me to the previous page
Can anyone tell me why is it so
Is it bcoz of the Forward tag
And plz can anyone tell me a solution for this
Thanks
Sam


SCJP
Sreerama Raju
Greenhorn

Joined: Mar 23, 2002
Posts: 3
Hi Ms. Sameera
I think problem is not with JSP or Forward tag.
I think problem may be with the META tag using in your html code..If you use 'content=no-cache' attribute in META tag 'DATA MISSING' message will come in Netscape browser..
If you remove that your problem will be solved..

If still there is a problem you can mail me your code to my mailID mvsraju76@yahoo.com.
U'rs friendly
Sreerama Raju
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Data Missing error
 
Similar Threads
HttpSession using JSF
Validation Problem
Displaying an input box after an Action (struts)
Login Page Problem????
servlet