Author: markt
Date: Mon Jun  8 21:29:27 2009
New Revision: 782791

URL: http://svn.apache.org/viewvc?rev=782791&view=rev
Log:
Use a more sensible default.
Patch suggested by Ian Darwin.

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardHost.java
    tomcat/trunk/webapps/docs/config/host.xml

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardHost.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardHost.java?rev=782791&r1=782790&r2=782791&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardHost.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardHost.java Mon Jun  8 
21:29:27 2009
@@ -79,7 +79,7 @@
     /**
      * The application root for this Host.
      */
-    private String appBase = ".";
+    private String appBase = "webapps";
 
     /**
      * The XML root for this Host.

Modified: tomcat/trunk/webapps/docs/config/host.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/host.xml?rev=782791&r1=782790&r2=782791&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/host.xml (original)
+++ tomcat/trunk/webapps/docs/config/host.xml Mon Jun  8 21:29:27 2009
@@ -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">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to