You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/03 03:37:28 UTC

DO NOT REPLY [Bug 14200] New: - TLDs under WEB-INF are not scanned for URI mappings

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14200>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14200

TLDs under WEB-INF are not scanned for URI mappings

           Summary: TLDs under WEB-INF are not scanned for URI mappings
           Product: Tomcat 4
           Version: 4.1.14
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hans@gefionsoftware.com


Even though the JSP 1.2 spec is a bit vague on the subject, I'm pretty sure the
intention is that the auto-discovery of TLDs includes TLDs located directly in
the file system under WEB-INF, but the
org.apache.jasper.compiler.TldLocationsCache class only looks for TLDs in JAR
files under WEB-INF/lib. 

For consistency with which TLDs are used when scanning for listeners, I suggest
including all TLDs under WEB-INF (in addition to JAR files under WEB-INF/lib and
web.xml mappings) when the map is created.

I'll try to get this clarified in JSR-152.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>