users@servlet-spec.java.net

[servlet-spec users] Re: Context attributes across local applications

From: Greg Wilkins <gregw_at_webtide.com>
Date: Fri, 8 Apr 2016 08:49:22 +1000

I agree with Mark's analysis.

In Jetty the other context attribute would be there, as any code with a
reference to a context is able to set attributes on it.

As Mark says, using a request attribute would be a better way to pass such
attributes between contexts (with the caveat of classloading issues Mark
referred to).

cheers


-- 
Greg Wilkins <gregw@webtide.com> CTO http://webtide.com