Re: Struts + Servlet Filter + Global Forward problem
From: Wendy S (wendywds_at_hotmail.com)
Date: 03/30/04
- Next message: Chad Rosen: "Struts validator isn't validating my form"
- Previous message: javaguy44: "Re: Struts...write to properties file!"
- In reply to: javaguy44: "Struts + Servlet Filter + Global Forward problem"
- Next in thread: javaguy44: "Re: Struts + Servlet Filter + Global Forward problem"
- Reply: javaguy44: "Re: Struts + Servlet Filter + Global Forward problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Chad Rosen: "Struts validator isn't validating my form"
- Previous message: javaguy44: "Re: Struts...write to properties file!"
- In reply to: javaguy44: "Struts + Servlet Filter + Global Forward problem"
- Next in thread: javaguy44: "Re: Struts + Servlet Filter + Global Forward problem"
- Reply: javaguy44: "Re: Struts + Servlet Filter + Global Forward problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|