Has anyone had a problem with a blank screen on
struts validation?
i.e., something like...
public ActionErrors validate(ActionMapping, HttpServletRequest request) {
ActionErrors = new ActionErrors();
if(form_field_1.equals("")) {
errors.add("form_field_1", new ActionError("error.input.notValid"));
}
return errors;
}
This actually worked earlier for me, but now I'm getting a blank screen when I submit the form with no value in form_field_1 (or whenever the if clause fails).
Any ideas as to why this is happening?
Thanks