From: markt Date: Mon, 7 Jan 2008 23:15:59 +0000 (+0000) Subject: Fix bug 43743. Correctly handle nest tag files packaged in a jar. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fa33c5f040d4163e204fb2bc44803effc75db0d4;p=tomcat7.0 Fix bug 43743. Correctly handle nest tag files packaged in a jar. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@609803 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/Parser.java b/java/org/apache/jasper/compiler/Parser.java index f3e9a867d..765a73a9a 100644 --- a/java/org/apache/jasper/compiler/Parser.java +++ b/java/org/apache/jasper/compiler/Parser.java @@ -424,6 +424,13 @@ class Parser implements TagConstants { if (ctxt.getOptions().isCaching()) { ctxt.getOptions().getCache().put(uri, impl); } + } else { + // Current compilation context needs location of cached + // tag files + for (TagFileInfo info : impl.getTagFiles()) { + ctxt.setTagFileJarUrl(info.getPath(), + ctxt.getTagFileJarUrl()); + } } pageInfo.addTaglib(uri, impl); }