Hi,

I have a few questions regarding Threads in Tomcat. I
appreciate if anyone can help me on these:
1. Is it true that requests from the SAME client
always served by the SAME thread? 
2. What if the SAME client access 2 different servlets
in a servlet container? Is it still served by the SAME
thread?
3. What happens if the client send another request
BEFORE the first request finished execution? Will the
second request queue up somewhere in servlet
container? Or it will be served by a different thread?
4. Is it recommend to use ThreadLocal when I write
Servlet code?

Thanks a lot for your help.
Sam

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to