Bug 54981

Summary: ServletContext.getJspConfigDescriptor() should return null when there is no jsp configuration
Product: Tomcat 7 Reporter: Violeta Georgieva <violetagg>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0.40   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Violeta Georgieva 2013-05-16 08:02:36 UTC
According to Servlet 3.0 javadoc ServletContext.getJspConfigDescriptor() must return NULL when there is no jsp configuration:

"
Returns:
the <jsp-config> related configuration that was aggregated from the web.xml and web-fragment.xml descriptor files of the web application represented by this ServletContext, or null if no such configuration exists
"
Comment 1 Violeta Georgieva 2013-05-16 14:17:46 UTC
Fixed in trunk and 7.0.x and will be included in 7.0.41 onwards.