From: markt Date: Mon, 20 Jun 2011 14:57:37 +0000 (+0000) Subject: Packages tag files have jndi URLs not file URLs X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f40b7d69b0c93cfe464b406a2d0923da2ec8f0eb;p=tomcat7.0 Packages tag files have jndi URLs not file URLs git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1137646 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/JspCompilationContext.java b/java/org/apache/jasper/JspCompilationContext.java index ec05e0b29..c336c75ac 100644 --- a/java/org/apache/jasper/JspCompilationContext.java +++ b/java/org/apache/jasper/JspCompilationContext.java @@ -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);