tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@sfu.ca>
Subject Re: TC33b1 Context path behavior: Is this a bug or by design?
Date Thu, 01 Jan 1970 00:00:00 GMT
> So is there a way to turn off the creation of that automatic context?
>
> I'd also like a way to say "If a Context tag is defined then do not also
> generate an automatic context".

The name of the "path" attribute and the name of the dir in /webapps have to
be the same.  You can rename one or the other.
 
> I'd also like a way to say "Only generate contexts for those which are
> explicitly defined with a Context tag".

There's a way to completely disable automatic Context creation.  IIRC, it's
by removing one of the elements in server.xml.

- r


Mime
View raw message