Re: [s2] Filter vs Servlet

2007-02-20 Thread Patrick Lightbody
There a lot of reasons. If you really want to know, try searching the webwork mailing list/forum archives, or ask here and I'll try to find time to explain. Otherwise, just keep trying to solve your problem and avoid using the Servlet - it's not recommended :) ---

[s2] Filter vs Servlet

2007-02-20 Thread Mike Baroukh
Hi. I encounter a problem using Struts as a filter on Resin. Before I try to investigate further, may somebody explain me why a Filter has been choosen instead of an action as it was for Struts1 ? I understand that SiteMesh is implemented as a Filter, but for Struts Action, I don't understand.