I have a question on the specifics of the servlet spec.  Specifically
this has to do with mapping URIs to servlets.

I have a servlet that serves files for users based on the unix
convention ~username/... (even though this isn't necessarily running on
a unix system).  Till now I have been using JWS as my servlet engine.
What I have done is to map  /~ to my servlet and this works fine under
JWS 1.1 and 2.0.  However in looking at the 2.2 servlet spec, it seems
to imply that this shouldn't work, that a mapping like /~ should only
map to /~, not anything longer.  The 2.2 spec states that /~/* should be
used for matches that are longer.  However, in my case, this doesn't
work since what I want is /~*, but the spec suggests that this isn't a
legal mapping (at least it only explicitly talks about the behavior of
*.xxx for extensions, /xxx/* for path mappings, and /xxx for exact
mappings).  Is /xxx* allowed by the servlet spec and defined for servlet
engines so that I can expect a standard set of behavior.

I am worried that I have built functionality under JWS that won't work
on any other servlet engine (and with the end of JWS in sight ....)

thanks,
--Barry

___________________________________________________________________________
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