Bug 55246

Summary: Delegate TLD processing for listeners to the JSP engine
Product: Tomcat 8 Reporter: Jeremy Boynes <jboynes>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement    
Priority: P2    
Version: 8.0.x-trunk   
Target Milestone: ----   
Hardware: All   
OS: All   

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

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).