public static boolean basicValidateStringArray(
     ActionErrors actionErrors, Number fieldId, ActionForm form, IGTEntity entity)
     throws GTClientException {
   try {
     String fieldName = entity.getFieldName(fieldId);
     String[] value = (String[]) PropertyUtils.getSimpleProperty(form, fieldName);
     return basicValidateStringArray(actionErrors, fieldName, value, fieldId, entity);
   } catch (Exception e) {
     throw new GTClientException("Error validating field:" + fieldId, e);
   }
 }
 public static boolean basicValidateUrl(
     ActionErrors actionErrors, Number fieldId, ActionForm form, IGTEntity entity)
     throws GTClientException { // 20040211AH
   try {
     String fieldName = entity.getFieldName(fieldId);
     String value = (String) PropertyUtils.getSimpleProperty(form, fieldName);
     try {
       new URL(value);
     } catch (Exception e) {
       addFieldError(actionErrors, fieldName, entity.getType(), INVALID, null);
       return false;
     }
     return true;
   } catch (Exception e) {
     throw new GTClientException("Error validating (url) field:" + fieldId, e);
   }
 }