I have a servlet which outputs some data obtained from database on webpage which also has a link on this webpage, when clicked on this link it opens up another servlet, which does some updates to the database for which i have a button which does update, on click of this update button, it has to update the database, close the popup servlet and also has to refresh the webpage. The problem is when it refreshes the webpage, i see a window popped up from IE browser saying <b>This page cannot be refreshed without resending the information. Click Retry to send the information again, or click cancel button to return to the page that you were trying to view.</b> <b>The problem is i don't want this window to popup? Could anyone please help me to solve this problem?</b> I tried reversing my get and post methods of servlet but it still shows up in IE, but it is doesn't show up in netscape. I have another question, how to set the TextArea's maxlength? Appreciate your help, Thanks.
I'm not sure to help you with your first question. Just another sign of the problems with Microsoft. As for your second question you can specify the size of the textarea with the constructor, however, this will not limit the size of the string but rather the viewing area of the textarea. I suggest once you get the string, make sure it's smaller than the max length you want, else have them input another string. I hope that helps.
Hello, Normally whenever u refresh a servlet which is written in "doPost" method, it will ask this question. Better rewrite the servlet in "doGet" method and try out. U wont get the message. All the best
Have a wonderful day and wish u success<p>S Chandra Mohan<br />firstname.lastname@example.org