You seem to be returning "null" from the ActioForm's validate method - should be returning the ActionErrors - otherwise they won't get stored in the request under the appropriate key.
Niall ----- Original Message ----- From: "Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]> Sent: Thursday, April 21, 2005 10:19 AM > SimpleForm.java > > > public ActionErrors validate(ActionMapping mapping, > HttpServletRequest request) > { > > // Perform validator framework validations > ActionErrors errors = super.validate(mapping, request); > if (errors == null) > { > errors = new ActionErrors(); > } > > if (getName() == null || getName().length() == 0) > { > errors.add("name", new > ActionMessage("errors.required", "Name")); > } > > if (getDescription() == null || getDescription().length() == > 0) > { > errors.add("description", new > ActionMessage("errors.required", "Description")); > } > > if (errors.size() > 0) > { > System.out.println("Errors: " + errors.size()); > StrutsHelper.outputRequestObjects(request); > } > return null; > } > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]