You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Darling <td...@glue.umd.edu> on 2001/03/05 22:54:10 UTC

Can I use servlets a HTTP filters in Tomcat 3.1?

If so, how?  Thanks.



Re: Can I use servlets a HTTP filters in Tomcat 3.1?

Posted by Ben Flaumenhaft <be...@sidelight.com>.
You don't generally want to use servlets as filters; the Filter interface is
different from the Servlet interface (and quite a bit simpler).

If for some reason you need to use a servlet's code as a filter, you could
write an adapter class that implements Filter and somehow calls a Servlet.
I'd avoid this, though.

Regards,
Ben Flaumenhaft
Principal, Sidelight Consulting
http://www.sidelight.com

----- Original Message -----
From: "Tim Darling" <td...@glue.umd.edu>
To: <to...@jakarta.apache.org>
Sent: Monday, March 05, 2001 1:54 PM
Subject: Can I use servlets a HTTP filters in Tomcat 3.1?


> If so, how?  Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>