您需要捕获MissingServletRequestParameterException
@ExceptionHandler(MissingServletRequestParameterException.class)
public String missingParamterHandler(Exception exception) {
/*inspect and exception and obtain meaningful message*/
return "default-error-view"; /*view name of your erro jsP*/
}