geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r265777 - /geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
Date Thu, 01 Sep 2005 20:44:25 GMT
Author: jgenender
Date: Thu Sep  1 13:44:22 2005
New Revision: 265777

URL: http://svn.apache.org/viewcvs?rev=265777&view=rev
Log:
Test for null servlet class name (means its a JSP)

Modified:
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java?rev=265777&r1=265776&r2=265777&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
Thu Sep  1 13:44:22 2005
@@ -160,6 +160,10 @@
         Wrapper wrapper = (Wrapper) child;
         
         String servletClassName = wrapper.getServletClass();
+        if (servletClassName == null){
+            super.addChild(child);
+            return;
+        }
         
         ClassLoader cl = this.getParentClassLoader();
         



Mime
View raw message