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: dev@tomcat.apache.org
        ReportedBy: j...@leeclemens.net


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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to