> As I said, the "comp" context takes care of the switching 
> logic. All you
> need to make sure is that the right context classloader is set. And in
> case of Tomcat I think this is handled by default (i.e. 
> Tomcat sets the
> context classloader properly on both init and all requests). 
> So, all you
> should have to do is do the binding into java:comp/env at startup. The
> rest is automatic. There's no need for a request-interceptor.

Okay, I'll see what I can do (crossing fingers).  Thanks for your time,
Rickard.

Reply via email to