tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Trotter" <russtrot...@yahoo.com>
Subject Re: servlet-path, path-info and Filters
Date Thu, 07 Feb 2002 17:22:56 GMT
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" <craigmcc@apache.org>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message