https://issues.apache.org/bugzilla/show_bug.cgi?id=48371
Summary: addWebXmlMappings does not place servlet tags
correctly
Product: Tomcat 6
Version: 6.0.20
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Jasper
AssignedTo: [email protected]
ReportedBy: [email protected]
If there is a commented-out <security-constraint> or commented-out <servlet>
tag and addWebXmlMappings="true", the JSP's servlet and servlet-mapping tags
are placed incorrectly and Tomcat will not start due to "--" being inside a
comment.
Basically, it seems the web.xml is not parsed correctly when using
addWebXmlMappings and you cannot have above tags commented out, or new servlet
tags will be placed incorrectly and comment tags not respected.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]