You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Moore <tm...@blackboard.com> on 2002/09/13 22:21:12 UTC

Adding contexts programmatically

I have a class that needs to be able to programmatically add new webapp
contexts to the Tomcat server that it's running in.

In 3.3.x, I could retrieve the ContextManager from the ServletContext
and call addContext on it. What is the equivalent in Tomcat 4.1.x?

Thanks in advance,
-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863