Spring / Spring Interview questions II
How do I resolve codes to error messages in Spring validation?
MessageCodesResolver resolves the code to error messages. It has the method rejectValue("property name","messages") for example, rejectValue("name", "person.name") that translates error to valid message.
More Related questions...