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 2013/07/10 15:30:02 UTC
svn commit: r1501763 -
/tomcat/trunk/java/org/apache/jasper/compiler/TldLocationsCache.java
Author: markt
Date: Wed Jul 10 13:30:02 2013
New Revision: 1501763
URL: http://svn.apache.org/r1501763
Log:
Whoops. Fix JSPs with TLDs for apps that don't have a JSP config descriptor element in their web.xml.
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/TldLocationsCache.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/TldLocationsCache.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/TldLocationsCache.java?rev=1501763&r1=1501762&r2=1501763&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/TldLocationsCache.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/TldLocationsCache.java Wed Jul 10 13:30:02 2013
@@ -245,6 +245,9 @@ public class TldLocationsCache {
private void tldScanWebXml() throws Exception {
JspConfigDescriptor jspConfig = ctxt.getJspConfigDescriptor();
+ if (jspConfig == null) {
+ return;
+ }
Collection<TaglibDescriptor> taglibs = jspConfig.getTaglibs();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org