action中验证错误信息无法显示
在数据库中检索,没有该用户时显示错误信息,我是这样写的
ActionMessages errors = new ActionMessages();
errors.add("inputErrors", new ActionMessage("index.loginError"));
this.saveErrors(request, errors);
return mapping.findForward("index");
页面里:<html:errors property="inputErrors" />
所有配置都没有错误,跳转也正常,但出错页面没有显示错误信息,为什么呢?