Is'nt that standard behaviour for both the browsers. Even in Netscape, if
the page you are currently viewing was generated after a form submission
from the previous page, hitting refresh will cause the browser to re-post
the form.
The thing is, refresh will reload the page for you. If it is a static page,
it will simply make a get request to the web server and get the latest and
greatest copy of that page for you, on the other hand, if it is a
dynamically generated page, it will need to make a post to the web server
along with all your values as was done in the previous request.
This is standard behaviour, and AFAIK, there's nothing you can do about it.
- Chinmay.
> ----------
> From: Steffen Maier[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent: Monday, November 08, 1999 4:06 AM
> To: [EMAIL PROTECTED]
> Subject: Forward() and Refresh
>
> I have a problem with forward and refreshing the data by the client.
>
> A clients posts data to my servlet. The doPost routine processes the data,
> create some output beans and forward the output to a result jps file. That
> works fine.
> My problem is, that the Explorer will post the data again if a user press
> the refresh button on the result page !
> Why post the explorer the input data again at the result page ?
>
> Steffen
>
> __________________________________________________________________________
> _
> 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