// Call the validate() method of our ActionForm bean
// Use struts1.0 compatible method, as this class is mainly for struts1.0
// backward compatibility.
ActionErrors errors = formInstance.validate(mapping, request);
if ((errors == null) || errors.empty()) { //
if (debug >= 1)
log(" No errors detected, accepting input");
return (true);
}