https://issues.apache.org/bugzilla/show_bug.cgi?id=53737
Priority: P2
Bug ID: 53737
Assignee: [email protected]
Summary: Use ServletContext.getJspConfigDescriptor() in Jasper
instead of XML-parsing of merged web.xml
Severity: enhancement
Classification: Unclassified
OS: Windows XP
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: trunk
Component: Jasper
Product: Tomcat 8
In Tomcat 7.0.29 in ContextConfig#webConfig() a merged web.xml file is
serialized into String and is put as an attribute into ServletContext.
[[[
String mergedWebXml = webXml.toXml();
sContext.setAttribute(
org.apache.tomcat.util.scan.Constants.MERGED_WEB_XML,
mergedWebXml);
]]]
Then in JspConfig#processWebDotXml() of Jasper it is parsed again from XML into
objects.
It would be better to access the necessary configuration through Servlet 3.0
API methods such as ServletContext.getJspConfigDescriptor().
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]