On 17/10/2010 22:58, Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: [VOTE] Release Apache Tomcat 7.0.4 > >> There are no matches for the static files so all is >> OK for the first sentence. However there is a match >> (to *.jsp) the second time through so Tomcat passes >> "/catalog/products/default.jsp" to the JSP servlet >> which returns a 404. > > This might be the crux of the matter: section 12.2.1 of the spec states that > "*.jsp" is an /implicit/ mapping (unless overridden by the webapp), and the > second matching protocol in 10.10 seems to be referring to /explicit/ > mappings (my interpretation, not definitive in the spec). Tomcat does not > differentiate between implicit and explicit mappings, whereas the other > containers seem to do so.
Implicit seems to be a term used in section exclusively 12.2.1 (OK apart from a single mention in 12.1). It isn't used elsewhere in the Servlet spec so it isn't at all clear what - if any - special treatment implicit mappings are meant to have. 12.2.1 doesn't mention *.jspx which doesn't give me a great deal of confidence in the completeness or correctness of that section. Something else that requires some clarity for Servlet 3.1. I'll add it to my list. My previous suggestion regarding a new config option would at least allow users to control this behaviour until we get some clarity in the spec. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org