Martin Gainty wrote:
assuming you are using Actions
annotation to define multiple action methods within a single action class?
@Action("/different/url")
http://cwiki.apache.org/WW/convention-plugin.html
How does this differentiate between implementing Action or extending
ActionSupport?
Da
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 I1
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 12 Apr 2009 22:11:09 +0800
> Subject: Re: struts 2, implements Action / extend ActionS
>
> basically ActionSupport gives you some default implemented methods to make
> your life easier.
if you dont need them you can simply implement Action
But for Struts2 you dont even HAVE to implement the Action interface, as
long as you have a method called "execute" or any named method that your
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?
tks in advance
john
5 matches
Mail list logo