Bug 54981 - ServletContext.getJspConfigDescriptor() should return null when there is no jsp configuration
Summary: ServletContext.getJspConfigDescriptor() should return null when there is no j...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 7.0.40
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-16 08:02 UTC by Violeta Georgieva
Modified: 2014-02-17 13:50 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.