Use a more sensible default.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Jun 2009 21:29:27 +0000 (21:29 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Jun 2009 21:29:27 +0000 (21:29 +0000)
Patch suggested by Ian Darwin.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@782791 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardHost.java
webapps/docs/config/host.xml

index 9bb6ef0..72c5e1f 100644 (file)
@@ -79,7 +79,7 @@ public class StandardHost
     /**
      * The application root for this Host.
      */
-    private String appBase = ".";
+    private String appBase = "webapps";
 
     /**
      * The XML root for this Host.
index 851ca3f..ca89afe 100644 (file)
@@ -83,7 +83,8 @@
         to the <code>$CATALINA_BASE</code> directory.  See
         <a href="#Automatic Application Deployment">Automatic Application
         Deployment</a> for more information on automatic recognition and
-        deployment of web applications to be deployed automatically.</p>
+        deployment of web applications to be deployed automatically. If not
+        specified, the default of <code>webapps</code> will be used.</p>
       </attribute>
       
       <attribute name="xmlBase" required="false">