From: markt Date: Fri, 16 Mar 2007 01:41:51 +0000 (+0000) Subject: Update host doc now directories in appBase without WEB-INF are auto-deployed. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4bc46cde63aa196dcbc71ecff002a611d3708085;p=tomcat7.0 Update host doc now directories in appBase without WEB-INF are auto-deployed. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@518828 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 5edc0efb2..f274a36e4 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -56,6 +56,10 @@ Fix previous update to servlet 2.5 xsd to use correct declaration. (markt) + + Update host configuration document for new behaviour for directories + in appBase. (markt) + diff --git a/webapps/docs/config/host.xml b/webapps/docs/config/host.xml index 6846a576c..4bcd78cb3 100644 --- a/webapps/docs/config/host.xml +++ b/webapps/docs/config/host.xml @@ -284,10 +284,9 @@ deployer, if enabled, will automatically expand the updated WAR file once the previously expanded directory is removed).
  • Any subdirectory within the application base directory - that appears to be an unpacked web application (that is, it contains - a /WEB-INF/web.xml file) will receive an automatically - generated Context element, even if this - directory is not mentioned in the conf/server.xml file. + 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 @@ -298,8 +297,7 @@

    In addition to the automatic deployment that occurs at startup time, you can also request that new XML configuration files, WAR files, or - subdirectories (containing web applications) that are dropped in to the - appBase (or + subdirectories that are dropped in to the appBase (or $CATALINA_HOME/conf/[engine_name]/[host_name] in the case of an XML configuration file) directory while Tomcat is running will be automatically deployed, according to the rules described above. The