You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/06/20 16:57:38 UTC

svn commit: r1137646 - /tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java

Author: markt
Date: Mon Jun 20 14:57:37 2011
New Revision: 1137646

URL: http://svn.apache.org/viewvc?rev=1137646&view=rev
Log:
Packages tag files have jndi URLs not file URLs

Modified:
    tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java

Modified: tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java?rev=1137646&r1=1137645&r2=1137646&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java (original)
+++ tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java Mon Jun 20 14:57:37 2011
@@ -295,7 +295,7 @@ public class JspCompilationContext {
                 // May not be in a JAR in some IDE environments
                 result = context.getResource(canonicalURI(res));
             }
-        } else if (res.startsWith("jar:file:")) {
+        } else if (res.startsWith("jar:jndi:")) {
                 // This is a tag file packaged in a jar that is being checked
                 // for a dependency
                 result = new URL(res);



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