Thank for your response Craig.

Just re-read SRV.11 (for the umpteenth time!)

So just so I have understanding, whatever resource (either static file,
servlet, etc) the filter is filtering is irrelavent in determining what is
returned from getServletPath(), getPathInfo() _in the filter_?

>From what you're saying whether it's a filter or a servlet, if the
url-pattern is "/something/*" then that is the return of the
getServletPath() call?  Both being consistent with one-another?

thanks again,
russ


----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 9:09 AM
Subject: Re: servlet-path, path-info and Filters


>
>
>
> The rules are in the Servlet 2.3 Specification, section 11.  In your
> particular example, getServletPath will return "/files" and getPathInfo()
> will return "/foo.jpg".
>
> > Thanks,
> > russ
> >
>
> Craig
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to