Hi Heymans,
> 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").
Ar, getURL is asynchronously, but I have already write the function
call as your suggestion. The problem encountered quite strange, for
example, I have 8 requests, usually in Firefox, the 1, 3, 5, 7
requests are missed...only execute 2, 4, 6, 8 requests, and it is
double times. Hence, the sequence become, 2,2, 4, 4, 6, 6, 8, 8.... (I
log it in the server side...) I don't know home come the 1, 3, 5, 7
are missed...
The presudo-code is like that...
for (numbers of request) {
getURL(url, callback);
}
but as I have tried, if insert a alert() function before getURL, that is..
for (numbers of request) {
alert(something);
getURL(url, callback);
}
All the request is executed...that is 1,2,3,4,5,6,7,8
I don't know why the behaviour is like that~~~HAHA~~~
> As to why you seem to "loosing" requests : have you configured a large
> enough connectionthreadpool in tomcat?
I don't try that, bty, how to set the connectionthreadpool, in some
config xml in tomcat?
Thank you very much to 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 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/