john lee wrote:
i am aware that in struts 2, when define an action, it could be public class XXX implement Action or
   public class XXX extends ActionSupport
what is the difference b/w above two? in other words, in what kind of scenario, pick which one?

If you want validation or I18N support, and don't want to write it yourself, use ActionSupport. As Steven said, you don't actually *have* to implement Action for things to work (I don't recall if there's any performance penalty incurred by forcing the use of reflection to find an execute() method).

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to