> The single "/" mapping is often a special case mapping that's handled
> differently than other directory mappings. I believe that's the case
> in JWS, or else they are not following the recommendations in the 2.1
> spec. I haven't tested but I believe a mapping like "/foo" will have
> precedence over a file name extension mapping even in JWS.
Spot on...
To clarify a bit more, the directory mappings (other than "/") have
precedence over extensions so that a servlet can "take over" an entire
directory with full control... Otherwise, in the case of no dir mapping
(except for /), the extensions maps kick in so that *.jsp can get
processed by the JSPServlet.
It's not the *best* solution -- but it's pretty workable, more workable
than any other that we've played with and what we really want here is
*consistent* behavior amongst all servlet engines. This will come into
play as we define deployment units in the next version of the spec.
.duncan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html