> on 9/30/01 3:15 PM, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
>
> > Mmmm, I'm not too sure about all this.
> > The servlet spec seems to imply that the extension mapping is on the end
of
> > the path.
> >
> > Section 11.1, item #3 : If the last segment in the URL path contains an
> > extension (e.g. .jsp), the servlet container will try to match a servlet
> > that handles requests for the extension.
> > An extension is defined as the part of the last segment after the last
'.'
> > character.
> >
> > Remy
>
> I think the Servlet Spec is wrong then because HTTP says that anything
after
> the extension mapping is PATH_INFO. It Is also inconsistent with the way
> that servlet path mapping works as well.

We're supposed to implement path mapping the way it is specified in the
servlet API. So if I read the spec correctly, it says that /foo.jsp goes to
the *.jsp mapping, and /foo.jsp/bar goes to the default servlet, since here
/bar would be the last segment of the URI.

Remy

Reply via email to