Validate an Email Address
9
mattrmiller
Validate an Email Address



me
jamesmcm
Can
Kelmi
ysg
dannymo2
chorny
wallie
Hackdemian
impomatic
dannyboy
sundaramkumar
mattrmiller
Pio
i_kenneth
ASmith
ctiggerf
sehrgut
bertheymans
SCoon
mattrmiller
It's take from: http://svn.sourceforge.net/viewvc/wicket/trunk/wicket-extensions/src/java/wicket/validation/validator/RfcCompliantEmailAddressPatternValidator.java?view=markup
As the javadoc says, you really should use this, but it's interesting to look at... it's almost like one of those blurry pictures that stare at until you see the hidden image.
This throws an exception if the address is invalid
But this way is good for a "quick n dirty" test