Originally posted by Amit Ghorpade:
[QBI am not familiar with a click handler[/QB]
A JavaScript function can be set up to handle clicks on any DOM element.
But can a click handler send multiple requests to a servlet?
Yes, as I explained. The client has no idea whether the request is being sent to a servlet or not. They're all just requests to the server.
If yes then I think after the first request, a response will be generated and as I said above the second request wont get a chance.
You are assuming that the browser will block waiting for the response. Not always. Not with Ajax and not with iframes.
Is it like that some client side buffering is done for requests?
There is some of that. Browsers will limit the number of simultaneous requests. How that's handled is browser-specific.