Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.

Commit a060cf8

Browse files
author
Kin Man Chung
committed
svn path=/trunk/; revision=1463
1 parent 1a22123 commit a060cf8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

impl/src/main/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,9 @@ private TagFileInfo createTagFileInfo(TreeNode elem, String uri,
626626

627627
if (path.startsWith("/META-INF/tags")) {
628628
// Tag file packaged in JAR
629-
ctxt.getTagFileJarUrls().put(path, jarFileUrl);
629+
if (jarFileUrl != null) {
630+
ctxt.getTagFileJarUrls().put(path, jarFileUrl);
631+
}
630632
} else if (!path.startsWith("/WEB-INF/tags")) {
631633
err.jspError("jsp.error.tagfile.illegalPath", path);
632634
}

0 commit comments

Comments
 (0)