Struts中的小问题
public ActionErrors validate(ActionMapping mapping,HttpServletRequest request) {
// TODO Auto-generated method stub
ActionErrors errors = new ActionErrors();//存放错误消息对象
if(this.username==null||this.username.length()<1)
errors.add("username",new ActionMessage("login.username"));
if(this.password==null||this.password.length()<1)
errors.add("password",new ActionMessage("login.password"));
return errors;
}
ActionErrors这个can't be resolved to a type怎么办 --------------------编程问答-------------------- 没有import? --------------------编程问答-------------------- http://topic.csdn.net/u/20070314/16/d10d13f2-8224-4184-ac1c-60a4e6a3e02e.html
好像之前有过这样的问题,也学习下,没用过struts --------------------编程问答-------------------- http://www.blogjava.net/xiaohu/archive/2007/03/12/103212.html
楼主可以参考下 --------------------编程问答-------------------- --------------------编程问答--------------------
补充:Java , Web 开发