tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=51508

Mark Thomas <markt@apache.org> changed:

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

--- Comment #1 from Mark Thomas <markt@apache.org> 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:
<quote>
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
pages...
</quote>

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


Mime
View raw message