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).
Quotes are from Servlet 2.4 PFD2, but it's the same in 2.3:
*
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.
How can I use JAAS as access controller for
Depends on which JAAS login module you use.
I want to use JAAS for authorization purposes but not for authentification.
So I don't plan to use login module.
Do you say that it is impossible to use JAAS as access controller in servlet
containers?
Howdy,
Do you say that it is impossible to use JAAS as access controller in
servlet containers?
Nope, I didn't say that. Anything is possible. I did ask that you
start a new thread for this off-topic discussion.
Yoav Shapira
Millennium ChemInformatics
This e-mail, including any
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
Howdy,
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).
Really?!? This is a guarantee of the spec, not a tomcat
-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
klute wrote:
Interesting.. What about the following scenario:
say you have a base servlet that implements some
interface for your app. it has validate() and
forward() methods which encapsulates some logic used
by all servlets in your app. doGet() and doPost() are
different though. so, say my
On Thu, 27 Mar 2003, Shapira, Yoav wrote:
Date: Thu, 27 Mar 2003 12:10: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,
Actually, that's yes and yes
On Thu, 27 Mar 2003, klute wrote:
Date: Thu, 27 Mar 2003 09:10:55 -0800 (PST)
From: klute [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Threads in Servlet2.3 container
Interesting.. What about the following scenario
10 matches
Mail list logo