Index: ../tomcat-6-trunk/java/org/apache/jasper/compiler/ParserController.java =================================================================== --- ../tomcat-6-trunk/java/org/apache/jasper/compiler/ParserController.java (revision 706544) +++ ../tomcat-6-trunk/java/org/apache/jasper/compiler/ParserController.java Tue Oct 21 11:01:29 CEST 2008 @@ -174,8 +174,12 @@ if (parent != null) { // Included resource, add to dependent list + if (jarFileUrl == null) { - compiler.getPageInfo().addDependant(absFileName); + compiler.getPageInfo().addDependant(absFileName); + } else { + compiler.getPageInfo().addDependant(jarFileUrl.toExternalForm()+absFileName.substring(1)); - } + } + } if ((isXml && isEncodingSpecifiedInProlog) || isBomPresent) { /*