At 2013-04-24 03:44:22,"Lukasz Lenart" <lukaszlen...@apache.org> wrote:

>2013/4/23 ppm10103 <ppm10...@163.com>:
>> The Dispatcher  will have only one instance,
>> it bind to ThreadLocal  is for what?
>
>For thread safety, then you can access Dispatcher from a thread
>without synchronisation. That's my opinion :-)
>
>
>Regards
>-- 
>Ɓukasz
>+ 48 606 323 122 http://www.lenart.org.pl/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>For additional commands, e-mail: dev-h...@struts.apache.org
>

Thanks for your help,but I look into the sourcecode ,the Dispatcher will only 
be one instance,
so even put it in the ThreadLocal,every thead alse access the same Dispatcher  
instance,
so I think it's not for thread safe,so I still want to konw it's for what?

Reply via email to