"Craig R. McClanahan" wrote:
> I'm mostly concerned about how you tell the difference between an "individual
> URL" match (which might be followed by some extra path information!) and a
> "directory path" match.  For example, what would you do with
> "/file.html/extra/path/info"?
I suggest a variation of your suggestion:
* "Longest prefix" match (except for "/"); else
* Extension match which CAN include extra path info (the extra path info
CANNOT include "."); else
* "/" match (i.e. the default servlet) if nothing else matches
without any special cases for exact pathname matching.

___________________________________________________________________________
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