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
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
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
3 matches
Mail list logo