Hi all, I wrote an app using struts and it works fine. Now I want to add a filter, so that a pre-defined page will be filtered before return. The question is how to specify <filter-mapping>. I tried lots of options, it does not work.
For the following action, <action path="/generateBig" type="GenerateBigAction" name="form" scope="request" input="/get.jsp" validate="false"> <forward name="success" path="/success"/> </action> I want to compress the response when it is forward to success page(/success). When I map filter to generateBig.do, the doFilter method is invoked, but the request page is returned. Even if correct page is return, I think mapping to generateBig.do is not the right way because failure page will be filter too. When I map filter to /success(or the servlet mapping to /success), the doFilter method is not even invoked. please help! ct __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>