Re: Struts2 annotations and superclass

2010-04-30 Thread Robert Taylor
will have to provide the annotation since annotations are not inherited. /robert - Original Message - From: "Robert Taylor" To: "Struts Users Mailing List" Sent: Wednesday, April 21, 2010 8:44 AM Subject: Struts2 annotations and superclass Greetings, We

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

Struts2 annotations and superclass

2010-04-21 Thread Robert Taylor
Greetings, We are converting from using Struts1 and XDoclet to Struts2 and Struts2 annotations. We have a base action class which handles requests which displays grid style information. The super class is a template pattern which does a lot of the common heavy lifting and exposes a method "dis