You cannot control what method is used when a person uses the
refresh/reload button, but the method that is used is the same method that
was used to get to the page in the first place, so if the person got to
that page with a POST, then when they click on the reload/refresh button,
they will call that page with another POST method, and the browser will
normally ask if they want to POST with the same information. So in a way
you can control what method is used when a user clicks on the
refresh/reload button by how the user gets their in the first place, but
other than that no you cannot.
Larry
On Thu, 6 Jan 2000, Subramanian A K wrote:
> Hi,
> when a servlet/html is executed and while am in the browser if the
> refresh/reload button is pressed doget() or dopost() is getting invoked. can
> we control this?
> TIA
> aks
>
> ___________________________________________________________________________
> 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
>
Talk to you later,
Larry M. Lemons
http://php.indiana.edu/~llemons/home.html
Live your life as a tale to be told..
always make the more interesting choice.
___________________________________________________________________________
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