Hello, i am working on a JSF Projekt with Glassfish. My validation works well but i dont become a custom error message.
//Class = User, package = devteam
@NotEmpty @Pattern(".+@.+\\.[a-z]+")
private String emailAddress;
My ValidationMessages.properties is in the WEB-INF folder with this content:
devteam.User.emailAddress=Invalid e-mail address
Thank you.