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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]