Sometimes it is desirable to override the text of JSF's default validation errors. Default validation errors are defined in a resource bundle called Messages.properties. This file can typically be found inside one of the JSF JAR Files included with your application server. For example, GlassFish includes it inside a JAR file called javax.faces.jar file under [glassfish installation directory]/glassfish/modules. The file contains several messages; we are only interested in validation errors at this point. The default validation error messages are defined as follows:
javax.faces.validator.DoubleRangeValidator.MAXIMUM={1}: Validation Error: Value is greater than allowable maximum of "{0}" javax.faces.validator.DoubleRangeValidator.MINIMUM={1}: ...