It's a matter of granularity. My struts apps
only have one servlet. I think the idea is to have these events at the
action level, per ActionForm. A filter is at the servlet
level. As I understand it, I can have a filter associated with a
servlet or a group of servlets. So in my struts app, my filter will be
invoked every single time a *.do request comes in.
I suppose struts could do something with filters
like has been done with the struts action servlet, but even in that case we
would not be creating filters, we'd be implementing some struts interface, as we
do with Actions.
So to summarize, assuming the struts framework as
it is today, filters do not help us get an event when a particular
ActionForm is used. Filters might be part of the solution in a new struts
architecture, but by themselves they don't provide the functionality suggested
in Jeff's proposal.
Taylor
|
- Re: Proposal Jeff Trent
- RE: Proposal Dan - Blue Lotus Software
- Re: Proposal Jeff Trent
- Re: Proposal Jeff Trent
- Re: Proposal Ted Husted
- Re: Proposal Jeff Trent
- Re: Proposal Ted Husted
- Re: Proposal Taylor Cowan
- Re: Proposal Craig R. McClanahan
- RE: Proposal Dan - Blue Lotus Software
- RE: Proposal Taylor Cowan
- RE: Proposal Craig R. McClanahan
- RE: Proposal Dan - Blue Lotus Software
- Re: Proposal Craig R. McClanahan
- Re: Proposal Jeff Trent