Would someone kindly clear my confusion? I have overridden the
validate(ActionMapping mapping, HttpServletRequest request)
method in my ActionForm and have successfully gotten it to check the items in my Form bean. However after having
ActionErrors errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("myText");
errors.add("test",new ActionError("myText");
The jsp page I return to shows "Validation Error(s)" with a horizontal line below but none of my text appears.
What am I doing wrong??
Thanks in advance!
validate(ActionMapping mapping, HttpServletRequest request)
method in my ActionForm and have successfully gotten it to check the items in my Form bean. However after having
ActionErrors errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("myText");
errors.add("test",new ActionError("myText");
The jsp page I return to shows "Validation Error(s)" with a horizontal line below but none of my text appears.
What am I doing wrong??
Thanks in advance!