tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51508] Using generic URL in jsp-config breaks welcome file handling
Date Mon, 18 Jul 2011 20:03:10 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Mark Thomas <> 2011-07-18 20:03:10 UTC ---
This is as per the spec and confirmed by a number of tests within the JSP 2.2
TCK, although the spec could make this clearer.

Section JSP.1.1.8 of the JSP spec states that:
The jsp-property-group element of web.xml can be used to indicate that some
group of files, perhaps not using either of the extensions above, are JSP

A url-pattern in a JSP property group must take precedence over any servlet
mapping. A mapping of '/*' will bypass the welcome file mapping, hence why you
see what you see. '*.jsp' may be a better choice for you in this case.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message