On Thu, 27 Mar 2003, Shapira, Yoav wrote:

> Date: Thu, 27 Mar 2003 09:28:40 -0500
> From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: Threads in Servlet2.3 container
>
>
> Howdy,
>
> >Can I expect that the one thread is picked out for processing of the
> one
> >user request ? For example can I hope that filters from the filter
> chain
> >are invoked by the same thread?
>
> No and no.  Do not make your design depend on these assumptions.
>

Actually, that's yes and yes.  A single thread is used to process a single
HTTP request (including all the filters on the filter chain, the ultimate
call to the servlet, and any recursive calls via a RequestDispatcher).

Craig

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

Reply via email to