Hello,

I am finding a way to keep a variable in a request scope. I feel it is
cumbersome to put that into request variable and pass it through multiple
objects. So, I think I will make it accessible through a static class
variable. I wonder if I can put it into a static ThreadLocal variable in a
class?

To rephrase the question: Though the thread pooling is possible, and one
thread may serve multiple requests, can it be guaranteed that each thread
will serve only a single request at the same time? If the answer is "yes",
does this apply to all Java Servlet implementation ?

Regards,
Ake



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to