Re: Struts + Servlet Filter + Global Forward problem

From: Wendy S (wendywds_at_hotmail.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 11:15:47 -0700


"javaguy44" <javaguy44@yahoo.com> wrote
> Is this possible? I have implemented a Servlet Filter with a mapping
> of
> <filter-mapping>
> <filter-name>MyFilter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> and the Filter is not called; the Filter is only called when I call an
> action, which leads me to believe that a Global Forward does not make
> a proper request to the web server.

Forwards happen on the server side. Requests come from the browser. Only a
new request coming in, either when the user clicks a link, or you send a
redirect to instruct the browser to make a new request, is going to hit your
Filter.

-- 
Wendy in Chandler, AZ


Relevant Pages

  • Re: IIS Extensions in URL causes filter to break.
    ... I delete all cached files at the browser to ensure that the browser ... I confirmed using NetMon on IIS server that the static HTML is ... What my filter does exactly? ... It filters every incoming request looking for "mystring" inside it. ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS Extensions in URL causes filter to break.
    ... If your filter operates the way you say, ... IIS can only say that one or more of the events contain ... every request, and maybe more than once, depending on whether the URL causes ... As for the order of handling between ISAPI Extensions and Filters - Filters ...
    (microsoft.public.inetserver.iis.security)
  • Re: OWA, FBA, and the front-end back end authentication process.
    ... You should use IPSec to secure traffic from the FE to the BE server. ... The filter lets the request pass through unmodified, ... The user fills in the form, and the browser performs a POST to the ...
    (microsoft.public.exchange.admin)
  • RE: iis crash/hang agent
    ... ;;; which is represented by a request that takes too long to complete. ... In the case of a hang, the agent can write a log file ... Configure the IISCHAgent.dll as a global filter in IIS by running ... Specifies the maximum number of CrashAgent logs to keep. ...
    (microsoft.public.inetserver.iis)
  • Re: Bybass HTTP ( extension files ) in ISA 2004
    ... The request was rejected by the HTTP filter. ... Contact your ISA Server administrator. ...
    (Bugtraq)