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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org