请问com.opensymphony.xwork2.Action; 和com.opensymphony.xwork2.ActionSupport;有什么区别嘛 ? 我在各例子里看到
public class AdminAction extends ActionSupport implements Action {
//省略一万行代码
}
如果只继承 ActionSupport 行不行?
------解决方案--------------------
public class ActionSupport extends Object implements Action, Validateable, ValidationAware, TextProvider, LocaleProvider, Serializable
楼主有没有仔细了解过源码。