From e6753dafec350aacc140817d5bce7f17a1fdc551 Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 13 Sep 2007 11:48:25 +0000 Subject: [PATCH] More clarification about Contexts, path and docBase as a result of http://marc.info/?l=tomcat-user&m=118945359807000&w=2. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@575274 13f79535-47bb-0310-9956-ffa450edef68 --- webapps/docs/config/context.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/webapps/docs/config/context.xml b/webapps/docs/config/context.xml index 3973319cf..1ca831153 100644 --- a/webapps/docs/config/context.xml +++ b/webapps/docs/config/context.xml @@ -158,10 +158,13 @@

The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is - being executed directly from the WAR file). You may specify + being executed directly from the WAR file). You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host.

+

The value of this field must not be set when the Context is + configured using a META-INF/context.xml file as it will be + inferred by the automatic deployment process.

@@ -188,10 +191,10 @@ within a particular Host must be unique. If you specify a context path of an empty string (""), you are defining the default web application for this Host, which - will process all requests not assigned to other Contexts. The value of - this field must not be set except when statically defining a Context in - server.xml, as it will be inferred from the filenames used for either the - .xml context file or the docBase.

+ will process all requests not assigned to other Contexts.

+

The value of this field must not be set except when statically + defining a Context in server.xml, as it will be inferred from the + filenames used for either the .xml context file or the docBase.

-- 2.11.0