Daniel Wink <[EMAIL PROTECTED]> writes: > Hi All, > > Here's a question that probably has a very basic answer(!): if a user of > my servlet fires off a salvo of quick requests to my servlet (eg; > banging 'submit' multiple times, and then hitting 'refresh') what seems > to happen is that the last request in the volley seems to be the one the > browser displays. My question: how does it know to do this? Presumably > my servlet is responding to all of the requests it receives, so does the > browser keep track of some id associated with the last request it's > made, and only accepts responses with the same id?
No. It's just that the browser sends them in sequence so the server responds that way to. It's more to do with the nature of time than any coding trick /8-> Remember that your browser only has a single window in which to display the results from a sequence of requests... so which one will be displayed when you have finished hitting the refresh button? the last one. Nic Ferrier ___________________________________________________________________________ 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
