Bug 54981 - ServletContext.getJspConfigDescriptor() should return null when there is no jsp configuration
ServletContext.getJspConfigDescriptor() should return null when there is no j...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
7.0.40
PC All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
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.