Victor Hadianto wrote:
>
> > >
> > >Isn't that interesting? I always thought that the doGet() will be called
> > >instead if the user click on the 'refresh' button.
> >
> > No, it just repeats the previous command
>
> I don't now about other people opinion, but I really think it's better when
> the browser 'Refresh' button just fetch whatever link in the text bar. I
> could not see any benefit of clicking refresh to post the last request.

It makes sense to me. If the browser got the current page by an HTTP
POST request, then refresh needs to cause the POST to happen again,
i.e., the browser sends another POST request. If the browser got the
current page by an HTTP GET request, then refresh sends another GET
request.

K Mukhar

___________________________________________________________________________
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