You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@costin.dnt.ro on 2000/01/24 20:07:42 UTC
Re: What in the API replaces HttpServer.getDefaultContext() ?
>
> I followed your instructions.
>
> I actually found (perhaps ambiguities), since in order to get the default
> context, I had to query
>
> contextManager.getContext("")
>
> to get the context that I wanted.
Sorry, it's getContext("") - "" is the root context.
It is confusing - in the config file we use "/", but the root context
is named "".
( the Spec calls it "", so we have to use this name, probably we should
do that in the config file too )
Costin
k