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