Christopher Goldman wrote:
>
> Nic,
>
> It seems to me that file extension mappings should take precedence over
> directory mappings. Just looking at the standard JWS servlet alias
> settings, we have:
>
> / --> file
> *.shtml --> ssi
>
> If directory aliases take precedence, then .shtml files will never be
> invoked by the ssi servlet! This is obviously not the case. I would expect
> precedence to favor specific mappings (e.g.: /foo/bar.html), then extension
> mappings, and then directory mappings.
>
> Or am I missing something?
>
> Hope this doesn't muddy the waters...
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.
But obviously this needs to be clarified and I'm sure James will do
so when he gets a chance.
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
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