public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
ActionErrors errors=new ActionErrors();
if(this.name==null||this.name.trim().equals("")){
errors.add("name",new ActionMessage("userLogin.name.problem"));
}
return errors;
}