Bug 55246 - Delegate TLD processing for listeners to the JSP engine
Delegate TLD processing for listeners to the JSP engine
Status: RESOLVED FIXED
Product: Tomcat 8
Classification: Unclassified
Component: Catalina
8.0.x-trunk
All All
: P2 enhancement (vote)
: ----
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-07-12 02:12 UTC by Jeremy Boynes
Modified: 2013-08-12 02:12 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Boynes 2013-07-12 02:12:23 UTC
Per Servlet 3.1, section 8.3: "Previously, a web container had to scan TLD resources for any listener declarations. With Servlet 3.0 and later versions, this responsibility may be delegated to the JSP container."
Comment 1 Jeremy Boynes 2013-08-12 02:12:53 UTC
This has been fixed in trunk and will be included in 8.0.x
http://svn.apache.org/r1512826
http://svn.apache.org/r1513028

TLD scanning has been consolidated into a ServletContainerInitializer provided by Jasper that uses the ServletContext to dynamically register listeners. As a result, the application and its JARs are scanned once rather than twice (by Catalina's TldConfig and Jasper's TldLocationsCache).