标注一个action的方法,在主action方法和result执行之后来调用.返回的值被忽略.
After标准可以在方法级别上设置.
没有参数
public class SampleAction extends ActionSupport { @After public void isValid() throws ValidationException { // validate model object, throw exception if failed } public String execute() { // perform action return SUCCESS; } }