Struts 2 email validator
The email validator is used check that the String field is a valid email address and it should not be empty. Plain validator syntax of email validator. <validators> <validator type="email"> <param name=”fieldName">fieldName</param> <message>message string</message> </validator> </validators><validators> <validator type="email"> <param name=”fieldName">fieldName</param> <message>message string</message> </validator> </validators> Field validator syntax of requiredstring validator. <validators> <field name="fieldName"> <field-validator type="email"> … Read more