Making javax validation error message more specific
Sorry if this question has been covered somewhere before. If it has please link me to it, I haven't been able to find a satisfactory answer as yet. I've been looking around trying to find a way to have the error messages provided by my javax validation more specific. The message I currently have for my @Min annotation is specified in the ValidationMessages.properties file: javax.validation.constraints.Min.message=The value of this variable must be less than {value}. and this prints out as would be expected The value of this variable must be less than 1 What I would like to have is the message