tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@costin.dnt.ro
Subject Re: What in the API replaces HttpServer.getDefaultContext() ?
Date Mon, 24 Jan 2000 19:07:42 GMT
> 
> 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


Mime
View raw message