Re: Concept doubt about threads & servlets

2012-09-29 Thread André Warnier
Jose María Zaragoza wrote: Thanks Yes, but I am curious how you would make a browser send several requests in a row on the same connection, without waiting for the first request to return a response. For example, with AJAX calls Well , I suppose that diferents AJAX calls go throught the same

Re: Concept doubt about threads & servlets

2012-09-29 Thread Jose María Zaragoza
Thanks >>Yes, but I am curious how you would make a browser send several >>requests in a row on the >>same connection, without waiting for the first request to return a >>response. For example, with AJAX calls Well , I suppose that diferents AJAX calls go throught the same TCP connection, but I'

Re: Concept doubt about threads & servlets

2012-09-28 Thread Mark Thomas
"André Warnier" wrote: >Jose María Zaragoza wrote: >> Hello: >> >> I've got a concept doubt about if it's possible perform many calls to >> the same servlet ( on the same session ) if the previous one didn't >> finish. > >Can you explain how precisely you would do that ? See below. I'd expect

Re: Concept doubt about threads & servlets

2012-09-28 Thread André Warnier
Jose María Zaragoza wrote: Hello: I've got a concept doubt about if it's possible perform many calls to the same servlet ( on the same session ) if the previous one didn't finish. Can you explain how precisely you would do that ? I know that a connection is assigned to a thread. If the clie

Concept doubt about threads & servlets

2012-09-28 Thread Jose María Zaragoza
Hello: I've got a concept doubt about if it's possible perform many calls to the same servlet ( on the same session ) if the previous one didn't finish. I know that a connection is assigned to a thread. If the client doesn't open more connection ( Keep-Alive: true ), all requests are processed by