How to validate Email Address using Apache EmailValidator
EmailValidator.getInstance().isValid(email)EmailValidator from package org.apache.commons.validator.EmailValidator is deprecated, use package org.apache.commons.validator.routines.EmailValidator instead.
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.5.1</version>
<type>jar</type>
</dependency>
Comments
Post a Comment