Packages tag files have jndi URLs not file URLs
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Jun 2011 14:57:37 +0000 (14:57 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Jun 2011 14:57:37 +0000 (14:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1137646 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/JspCompilationContext.java

index ec05e0b..c336c75 100644 (file)
@@ -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);