Thanks, but I think you misunderstood my question.
I Don't intend to create new threads. But I was wondering whether the
browser or the server creates a new thread or the equivalent of one.
We know that whenever a user clicks 2 links in succession, only the
response of the second link is displayed on the browser. But why is this?
Where is it handled?
Does the *browser* accept both the responses & choose to display only the
second one? Or does the *server* choose to send only the second response?
Or is it worse, and does the server halt the first request when the second
request arrives (but that would mean inconsistent data)?
Life is easiest for us server-side programmers if the browser handles it.
But does it?
I hope I made some sense this time. Anybody knows the solution?
Thanks,
Erwin
At 04:05 PM 4/30/01 +0400, you wrote:
>Nothing happens to the old request. If U r starting a thread to send
>communication
>to the server, the second thread also would be initialised on second
>click. Then
>two processes will run parallely. But this is not a commendable coding
>solution.
>
>Erwin wrote:
>
> > Hi,
> >
> > Just a simple question. What happens when a user clicks a button (or a
> > link) and then clicks again before the response arrives? Is the old request
> > stopped dead in its tracks? Do the two requests run in parallel on the
> > server? If the old request starts sending its response, is the rest of it
> > discarded?
> >
> > Basically, how much does this affect server-side programming?
> >
> > thx
> > Erwin
> >
> > ===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets