> >>> "Craig R. McClanahan" <[EMAIL PROTECTED]> 3/31/99
7:51:03
>This kind of rule still gets messed up if you allow extra path
information AND
>the extra path information might have periods in it.  For example,
assume a
>mapping from ".html" to a servlet, as we have been discussing:

>    /file.html --> HTML processing servlet -- no problem
>    /file.html/extra/path/info --> HTML processing servlet by your
rule
>    /file.html/extra.path.info --> ???

I'm not sure you interpreted me correctly.

My rule is:
 if the path contains a dot:
    if the path has a slash after the dot
       it's a directory path
  else
    it's a file path

Under my rule:

   /file..html/extra/path/info

should be matched by a servlet bound to one of the following
directory paths:
/file.html
/file.html/extra
/file.html/extra/path
/file.html/extra/path/info

but never get matched by a servlet mapped to the extension .html

I think this is correct, after all when are you going to get extra
path info after a file name?






Nic Ferrier
Tapsell-Ferrier Ltd
www.tapsellferrier.co.uk

___________________________________________________________________________
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

Reply via email to