for (ConstraintViolation<ActionSupport> constrantViolation : constraintViolations) {
Path fieldPath = constrantViolation.getPropertyPath();
Map<String, Object> attrs = constrantViolation.getConstraintDescriptor().getAttributes();
if (invalidFieldNames.contains(fieldPath))
continue;
if (parameters.containsKey(fieldPath.toString())) {
invalidValuesFromRequest.add(constrantViolation);
invalidFieldNames.add(fieldPath);
}
}
constraintViolations.clear();