From: markt Date: Mon, 8 Jun 2009 21:29:27 +0000 (+0000) Subject: Use a more sensible default. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7983a46d35fa2c5b40adc5965052bc1f293e43c2;p=tomcat7.0 Use a more sensible default. Patch suggested by Ian Darwin. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@782791 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/core/StandardHost.java b/java/org/apache/catalina/core/StandardHost.java index 9bb6ef0dc..72c5e1f35 100644 --- a/java/org/apache/catalina/core/StandardHost.java +++ b/java/org/apache/catalina/core/StandardHost.java @@ -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. diff --git a/webapps/docs/config/host.xml b/webapps/docs/config/host.xml index 851ca3f15..ca89afe57 100644 --- a/webapps/docs/config/host.xml +++ b/webapps/docs/config/host.xml @@ -83,7 +83,8 @@ to the $CATALINA_BASE directory. See Automatic Application Deployment for more information on automatic recognition and - deployment of web applications to be deployed automatically.

+ deployment of web applications to be deployed automatically. If not + specified, the default of webapps will be used.