geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1135019 - /geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
Date Mon, 13 Jun 2011 03:34:40 GMT
Author: gawor
Date: Mon Jun 13 03:34:40 2011
New Revision: 1135019

URL: http://svn.apache.org/viewvc?rev=1135019&view=rev
Log:
expose document base for web application

Modified:
    geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java

Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java?rev=1135019&r1=1135018&r2=1135019&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
(original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
Mon Jun 13 03:34:40 2011
@@ -347,6 +347,9 @@ public class TomcatWebAppContext impleme
     }
 
     public String getDocBase() {
+        if (context != null) {
+            return context.getDocBase();
+        }
         return docBase;
     }
 



Mime
View raw message