try using method GET


>I encounter a problem of accessing servlet using POST method. For
>instance, I've a HTML page containing a form as follows:
><html>
>...
><form method="post" action="/servlet/ServletA"
>...
><input type="submit" name="submit" value="submit form">
></form>
>...
></html>
>
>So, I click on submit button to submit form to ServletA which returns
>me a page showing some acknowledgement messages. Then I go to other URL
>like yahoo site and later try to click on Back button on the browser to
>go back to the acknowledgement page returned by the ServletA, I always
>get a message as follows:
>
>"Warning: Page has Expired The page you requested was created using
>information you submitted in a form. This page is no longer available.
>As a security precaution, Internet Explorer does not automatically
>resubmit your information for you.
>
>To resubmit your information and view this Web page, click the Refresh
>button."
>
>
>How can I solve this problem so that the browser will get the page
>generated by the servlet from the cache instead of asking me to refresh
>the page? Is it something to do with the content type set by servlet?
>
>Thank you.
>
>Rgds,
>Charlie
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to