By default, ValidationMessages.properties can be located in root of my classpath. Can I change the location of this file like com.myapp.Anything.properties?
By default, ValidationMessages.properties can be located in root of my classpath. Can I change
Share
From the JSR-303 specification:
It seems that this is the default and the suggestion. To back this up the JSR-303 TCK uses TestNG to move them to the “WEB-INF/classes/” directory which is the same as “./” on the resources classpath.
(You can experiment with it but that’s about all I can figure out.)
Sorry.