--- java/org/apache/jasper/JspCompilationContext.java (revision 909846) +++ java/org/apache/jasper/JspCompilationContext.java (working copy) @@ -295,6 +295,10 @@ if (jarUrl != null) { result = new URL(jarUrl.toExternalForm() + res.substring(1)); } + else { + // the path starts with /META-INF but the file is not in a jar + result = context.getResource(canonicalURI(res)); + } } else if (res.startsWith("jar:file:")) { // This is a tag file packaged in a jar that is being checked // for a dependency