Andy wrote:
In LogonForm.java (I have getters/setters for HTML fields, and a reset method, not shown) -public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { log.debug("validate"); ActionErrors errors = new ActionErrors(); if (FormUtils.isNullOrEmpty(httpServletRequest.getParameter("username"))) { log.debug("logon.form.username.invalid"); errors.add(ActionErrors.GLOBAL_MESSAGE,new ActionMessage("logon.form.username.invalid")); } if (FormUtils.isNullOrEmpty(httpServletRequest.getParameter("password"))) { log.debug("logon.form.password.invalid"); errors.add(ActionErrors.GLOBAL_MESSAGE,new ActionMessage("logon.form.password.invalid")); } return errors.isEmpty() ? null : errors; } As you can see it correctly returns the page to /login.jsp when errors are returned, but the page is blank and the html is - <html><body></body></html>. There are no exceptions in the log. Why is something so basic turning out to be so hard?
Probably because you didn't read all the docs ;) I don't see where you're saving the errors: saveErrors(request, errors); This is important. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

