You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Mike Baroukh <mb...@cardiweb.com> on 2007/02/20 19:23:23 UTC
[s2] Filter vs Servlet
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.
Or maybe there is a way to configure it as a servlet ?
Thanks !
--
Mike Baroukh
---
Cardiweb - 31 Rue de Mogador Paris IXeme
06 63 57 27 22 - 01 53 21 82 63 - Jabber: mbaroukh@jabber.org
http://www.cardiweb.com
---
Re: [s2] Filter vs Servlet
Posted by Patrick Lightbody <fo...@opensymphony.com>.
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 :)
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=65940&messageID=125896#125896
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org