Author: markt Date: Thu Sep 13 04:42:36 2007 New Revision: 575272 URL: http://svn.apache.org/viewvc?rev=575272&view=rev Log: More clarification about Contexts, path and docBase as a result of http://marc.info/?l=tomcat-user&m=118945359807000&w=2.
Modified: tomcat/container/tc5.5.x/webapps/docs/config/context.xml Modified: tomcat/container/tc5.5.x/webapps/docs/config/context.xml URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/config/context.xml?rev=575272&r1=575271&r2=575272&view=diff ============================================================================== --- tomcat/container/tc5.5.x/webapps/docs/config/context.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/config/context.xml Thu Sep 13 04:42:36 2007 @@ -169,8 +169,11 @@ <p>Do not choose a docBase that starts with your Host's appBase string. The default appBase is "webapps" so do not choose a docBase like "webapps-foo." Doing so will lead to deployment errors: see - <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39013" title="Bugzilla 39013">Bugzilla</a> - for details.</p> + <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39013" + title="Bugzilla 39013">Bugzilla</a> for details.</p> + <p>The value of this field must not be set when the Context is + configured using a <code>META-INF/context.xml</code> file as it will be + inferred by the automatic deployment process.</p> </attribute> <attribute name="override" required="false"> @@ -193,10 +196,10 @@ within a particular <a href="host.html">Host</a> must be unique. If you specify a context path of an empty string (""), you are defining the <em>default</em> 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.</p> + will process all requests not assigned to other Contexts.</p> + <p>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.</p> </attribute> <attribute name="reloadable" required="false"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]