From: markt Date: Fri, 10 Oct 2008 11:12:21 +0000 (+0000) Subject: Update docs: clarify context.xml copying and multi-level contexts, remove reference... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=904c95548d70494ed982103b234351b1d5fb8d91;p=tomcat7.0 Update docs: clarify context.xml copying and multi-level contexts, remove reference to default context git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@703403 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/config/context.xml b/webapps/docs/config/context.xml index 404f8abb9..ef927c2b4 100644 --- a/webapps/docs/config/context.xml +++ b/webapps/docs/config/context.xml @@ -75,22 +75,30 @@

Context elements may be explicitly defined:

diff --git a/webapps/docs/config/host.xml b/webapps/docs/config/host.xml index 9ee948820..5027694fb 100644 --- a/webapps/docs/config/host.xml +++ b/webapps/docs/config/host.xml @@ -290,17 +290,18 @@ be sure to delete the expanded directory when restarting Tomcat, so that the updated WAR file will be re-expanded (note that the auto deployer, if enabled, will automatically expand the updated WAR file - once the previously expanded directory is removed). + once the previously expanded directory is removed). Multi-level contexts + may be defined by using #, eg use a WAR named foo#bar.war + for a context path of /foo/bar.
  • Any subdirectory within the application base directory will receive an automatically generated Context element, even if this directory is not mentioned in the - conf/server.xml file. - This generated Context entry will be configured according to the - properties set in any DefaultContext - element nested in this Host element. The context path for this + conf/server.xml file. The context path for this deployed Context will be a slash character ("/") followed by the directory name, unless the directory name is ROOT, in which case - the context path will be an empty string ("").
  • + the context path will be an empty string (""). Multi-level contexts + may be defined by using #, eg use a directory named foo#bar + for a context path of /foo/bar.

    In addition to the automatic deployment that occurs at startup time,