How Many Methods Must an Action Walk Down (was Re: Annotation Validation, per me 2007-11-07 - By Ted Husted
Back On Nov 6, 2007 8:10 PM, Gary Affonso <glists2@(protected)> wrote: > For some reason folks new to s2 seem to get it backwards and want to > stuff a bunch of Action methods into a single Action class.
It's probably because the standard S2/WW validation workflow implies that an Action class will have multiple methods that an application will invoke in the normal course. Meanwhile, in Struts 1 there is a "DispatchAction" that does much the same thing. From other discussions, I gather that "multiple actions per controller" is considered a Good Thing on platforms like Ruby on Rails.
|
|