在我的行动论坛中,有有效方法:
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request){
ActionErrors errorList = new ActionErrors();
errorList.add("myError", new ActionMessage("this is my error"));
return errorList;
}
然后,流量将回到页表。 jsp.
I want to access that error from my form.jsp page but using JSTL s EL and not html:error tag. I know that errorList is stored as an Attribute on the requests scope but I need the exact name of the attribute. Can you tell under what name is that errorList stored on the request? Thank you!