Hi,

Is there a standard way to handle validations that can only occur server-side? e.g. unique fields.

I'm guessing you don't have to include the unique validation in any of your validation configuration.

Is it simply a case of overriding the validate method in my action form?

public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
{
ActionErrors errors = super.validate();


//  do my custom validation

  return errors;
}

cheers
Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to