struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Re: Interceptors and thread-safety
Date Tue, 17 Apr 2007 02:56:26 GMT
Dave Newton wrote:
> --- Laurie Harper <> wrote:
>> Shahak Nagiel wrote:
>>> So, how can these [interceptors] be thread-safe if 
>>> new Interceptors aren't being instantiated for
> every
>>> request?
>> Because the parameters don't come from (or vary
>> with) the request. 
> Just to add on/clarify a little bit, this also implies
> that if you configure an interceptor for a specific
> action that an instance is created for that action,
> yes?

I don't know the answer to that, but I would expect it to work that 
way... I would guess there will be one interceptor instance for each 
interceptor config.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message