Because the getURL method is asynchronous, I would suggest writing
into the callback method the code that controls when the next getURL
is executed. This will ensure that your requests are processed
serially (if that is behavior you desire). 

--- In [email protected], Jorg Heymans <[EMAIL PROTECTED]> wrote:
> getURL(url, callback) executes asynchronously. It calls the callback 
> method that was passed as a parameter when the response has arrived (ie 
> the request is "done").
> 
> As to why you seem to "loosing" requests : have you configured a large 
> enough connectionthreadpool in tomcat?
> 
> HTH
> Jorg
> 
> jacky11287 wrote:
> > 
> > --- In [email protected], "Chris Peto" <[EMAIL PROTECTED]>
wrote:
> > 
> >>Hi,
> >> 
> >>I have an Array in js and I make one call and when it is finished
then I
> >>make the next until my Array of requests is finished.
> > 
> > 
> > Hi Peto,
> > 
> > Ar, you use an array to hold all the different request then extract it
> > one by one from the array, pass it the to the getURL() method...
> > 
> > But how can you detect when the request is done...or let's say it is
> > finish...return from the server?
> > 
> > Thank you for your attention...
> > 
> > Jacky
> > 
> > 
> > 
> > 
> > 
> > -----
> > To unsubscribe send a message to:
[EMAIL PROTECTED]
> > -or-
> > visit http://groups.yahoo.com/group/svg-developers and click "edit
my membership"
> > ---- 
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to