You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2008/01/08 00:16:09 UTC

svn commit: r609803 - /tomcat/trunk/java/org/apache/jasper/compiler/Parser.java

Author: markt
Date: Mon Jan  7 15:15:59 2008
New Revision: 609803

URL: http://svn.apache.org/viewvc?rev=609803&view=rev
Log:
Fix bug 43743. Correctly handle nest tag files packaged in a jar.

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/Parser.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/Parser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Parser.java?rev=609803&r1=609802&r2=609803&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Parser.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Parser.java Mon Jan  7 15:15:59 2008
@@ -424,6 +424,13 @@
                         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);
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org