tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53504] New: jstl.jar not scanned for TLDs
Date Wed, 04 Jul 2012 03:14:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53504

          Priority: P2
            Bug ID: 53504
          Assignee: dev@tomcat.apache.org
           Summary: jstl.jar not scanned for TLDs
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: rksands@gmail.com
          Hardware: All
            Status: NEW
           Version: 7.0.14
         Component: Catalina
           Product: Tomcat 7

The jarsToSkip property in catalina.properties includes jstl.jar as a JAR that
should be excluded while scanning for TLDs.  It's worth considering to remove
that entry in the jarsToSkip property.

I believe that jstl.jar was originally added as an exclusion because older
versions of JSTL were composed of jstl.jar and standard.jar, and standard.jar
was the JAR with the TLD.  Therefore, there was no reason to scan jstl.jar.

In newer versions of JSTL, the JARs may be named like
javax.servlet.jsp.jstl-api-1.2.1.jar and javax.servlet.jsp.jstl-1.2.1.jar.  If
anybody decides to rename these to, say, jstl-api.jar and jstl.jar, the latter
won't be scanned.  I ran into this on my project when I was following JAR
naming conventions.

The workaround is simple: either rename the JAR to not be jstl.jar, or remove
the entry from catalina.properties.  However, it's worth considering removing
the entry in the baseline because the newer JSTL versions don't consist of
jstl.jar and standard.jar anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message