On Tue, 12 Feb 2002, Cox, Charlie wrote:
> Date: Tue, 12 Feb 2002 08:01:03 -0500
> From: "Cox, Charlie" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: RE: Filters running twice!!!
>
> does your dbfilterLog filter run twice also?
>
> I know that IE can sometimes make a "HEAD" request, but I'm not sure if that
> would get to the filter or not(anyone know?). If from the "HEAD" request it
> determines that it needs to reload the page, it will make a new request.
>
Yes, it definitely would -- any request that actually reaches Tomcat and
is matched by the mappings will be executed.
Note that, at the servlet level, the default implementation of HttpServlet
normally processes doHead() calls for you, so that you never see them.
> if you are just logging page accesses, you can use the AccessLogValve
> instead.
>
> Charlie
>
Craig
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>