public ActionErrors validate(ActionMapping mapping,
   HttpServletRequest request,HttpServletResponse response) {
......
}

 

这样写不成,多写了HttpServletResponse response,得这样写

public ActionErrors validate(ActionMapping mapping,
   HttpServletRequest request) {
......
}