tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: setWrapper and getWrapper in ContainerServlet
Date Sat, 03 May 2003 22:52:38 GMT


On Sat, 3 May 2003, Rajiv Mordani wrote:

> Date: Sat, 3 May 2003 14:28:27 -0700 (PDT)
> From: Rajiv Mordani <Rajiv.Mordani@Sun.COM>
> Reply-To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> To: tomcat-dev@jakarta.apache.org
> Subject: setWrapper and getWrapper in ContainerServlet
>
> Do I have to do anything special to have the container invoke the
> setWrapper in a ContainerServlet? I have implemented a ContainerServlet
> and the set / getWrapper method but it doesn't seem to be getting invoked.
>

The webapp also has to have privileged="true" in its <Context> entry --
see how the manager and admin webapps are configured for an example.  As a
side effect, the parent class loader becomes the server class loader as
well.

> - Rajiv
> --
> :wq
>

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message