tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject RE: ThreadLocal relationship to servlet requets and use to store variables
Date Thu, 30 Oct 2003 06:29:20 GMT
In general yes, but I'm currenly thinking of storing the Request 
itself in a ThreadLocal variable to avoid passing it around through 
several levels (which is what we are currently doing).

> -----Original Message-----
> From: Filip Hanik [mailto:devlists@hanik.com]
> Sent: Thursday, October 30, 2003 5:38 AM
> To: Tomcat Users List
> Subject: RE: ThreadLocal relationship to servlet requets and use to
> store variables
> 
> yes, each request comes with on its own thread
> but the proper way of storing stuff for the lifetime of the 
> request, is inside the HttpServletRequest.setAttribute
> Filip
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message