利用以下代码返回到input指定的页面:
ActionMessages errors = new ActionMessages();
errors.add("error", new ActionMessage("error.login"));
super.saveErrors(request,errors);
return mapping.getInputForward();
ActionMessages errors = new ActionMessages();
errors.add("error", new ActionMessage("error.login"));
super.saveErrors(request,errors);
return mapping.getInputForward();
转载于:https://www.cnblogs.com/ffvsff/archive/2008/02/15/1070004.html