https://issues.apache.org/bugzilla/show_bug.cgi?id=55262

            Bug ID: 55262
           Summary: Duplicate preludes and codas in same
                    <jsp-property-group> are ignored
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: jboy...@apache.org

If a <jsp-property-group> contains multiple <include-prelude> elements that
happen to refer to the same file only one include is performed. The same
applies to codas.

This happens because WebXml stores these in a LinkedHashSet rather than a List.

When multiple <jsp-property-group>s are combined, JspConfig uses a Vector and
so preserves duplicates as required by the JSP spec.

I have a test case demonstrating this but before committing a fix I would like
confirmation that WebXml's behaviour is incorrect.

-- 
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