You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sylvain Wallez <sy...@anyware-tech.com> on 2001/01/02 10:56:25 UTC

Re: Protecting Binary Files


Matthew Smith a écrit :
> 
> >For the file transfer stuff, you should have a look at Tomcat's internal
> >file serving servlet. It's implemented in the FileHandler inner class in
> >org.apache.tomcat.request.StaticInterceptor.
> 
>         I checked that location in my jakarta source, but I only see 4 files,
> FixHeaders.java, SecurityCheck.java, SessionInterceptor.java,
> SimpleMapper.java.  Am I missing a file or a screw up top?

StaticInterceptor is in Tomcat 3.2. I guess you have Tomcat 3.1, so you
should check at the org.apache.tomcat.servlets.DefaultServlet class
(serveFile method).

-- 
Sylvain Wallez
Anyware Technologies