This is the custom validator, has getters/setters for countryCode How to pass the country code back to the custom validator. This is my ActionClass-validation.xml Address object has zip and countryCode. I want to validate the zip based on the country. When I debug the above code, countryCode has the value ${address.country}. How can I get the country property value? Answer