摘要:
1.首先是在ActionForm中Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->ActionErrors errors=new ActionErrors(); if(name==null||name.length()<1){ errors.add("name",new ActionMessage("namewrong")); } if(password==null||password.lengt 阅读全文