Re: struts2 annotations

2010-09-06 Thread Hantsy Bai
于 2010/9/6 16:31, Daniel Rindt 写道: Am Montag, den 06.09.2010, 13:55 +0800 schrieb Hantsy Bai: Use convention plugin[1] please, it is shipped with struts2 dist package. [1]https://cwiki.apache.org/confluence/display/WW/Convention%20Plugin Thanks for the reactions, but after using the convention

Re: struts2 annotations

2010-09-06 Thread Daniel Rindt
Am Montag, den 06.09.2010, 13:55 +0800 schrieb Hantsy Bai: > Use convention plugin[1] please, it is shipped with struts2 dist > package. > [1]https://cwiki.apache.org/confluence/display/WW/Convention%20Plugin Thanks for the reactions, but after using the convention plugin, i am not able to use the

Re: struts2 annotations

2010-09-05 Thread Hantsy Bai
于 2010/9/6 1:13, Daniel Rindt 写道: Hello, i am using struts2-core 2.2.1 via maven2 in my project. My problem is, that i can't find the annotations. The installation of the package struts2-annotations 1.0.5 doesn't help. Where can i use the annotations again? Thanks for reading, understanding, a

Re: struts2 annotations

2010-09-05 Thread Vinicius Ferraz
Whats the annotation do you want? Result, Results? include convention plugin in pom.xml Vinícius Ferraz Campos Florentino https://sites.google.com/site/viniciusferraz/ Stefanini IT Solutions - Desenvolvedor Java CAIXA - Analista Júnior. (061) 8147-6464 On Sun, Sep 5, 2010 at 2:13 PM, Daniel Ri

Re: Struts2 annotations and superclass

2010-04-30 Thread Robert Taylor
Ok...i think I found the solution. The super class can provide annotations at the method level for multiple subclasses using the @Actions. If a subclass needs to add or diverge from common functionality provided by superclass method, they can override the method, however, the subclasses method

Re: Struts2 annotations and superclass

2010-04-27 Thread Wes Wannemacher
At first glance, I would think that what you describe would be the easiest method. For instance, I would do the following - @Override @Action("/url") public String method() { return super.method(); } This would get a bit tedious if you have a significant number of actions. If you have a lot o