View Full Version : EMail validator
Sep 15th, 2004, 10:02 AM
Browsing the code in the org.springframework.validation I do not see an email validator?
I am looking for an email validator to use in my business logic layer. Is commons-validator the best option?
Sep 17th, 2004, 03:08 PM
Currently the validaton support in Spring is only framework level - that is there is a hook for providing a validator to the MVC framework but there are no helper classes.
You would be best of using Commons Validator as a solution for now, plus it looks like commons validator is forming the base of the new validation support that is in the sandbox now.
Sep 20th, 2004, 07:06 AM
Sadly our project uses SLSB and thus classloading and classpaths are not an easy task deploying to WebSphere.
So my collegue ended up doing a java.net.INetAddress constrcut and catching the exception in case of failure. Avoiding adding more .jar files in the MANIFEST.MF file.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.