On Mon, Apr 13, 2015 at 6:57 PM, Konstantin Kolinko <knst.koli...@gmail.com>
wrote:

> 2015-04-14 2:28 GMT+03:00 Leo Donahue <donahu...@gmail.com>:
> >
> > I think I prefer the Listener approach better.
>
> Filters are better.
>
> With Filter there is a guarantee that finally block is executed in the
> same thread.
>
> With RequestListener there is no guarantee that "requestDestroyed()"
> happens in the same thread.  That method exists to perform cleanup of
> request attributes, not one of thread locals.
>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=57314
>
> Best regards,
> Konstantin Kolinko
>
>
Konstantin,

Thank you for sharing that link.

Reply via email to