I've looked into this before. The email validator resolved down to some really old code in XWork with a regex that looked something like this:
[a-z0-...@[a-z0-9].[a-z]^3 I strongly agree with Dave's advice. Broken email validators are too common on the web. -Brian On Mon, Dec 13, 2010 at 11:20 AM, Dave Newton <[email protected]> wrote: > IIRC the default email validator isn't as robust as the page- long RFC > email > regex. I'd suggest either a patch, ora custom validator. > > Dave > On Dec 13, 2010 12:11 PM, "Greg Akins" <[email protected]> wrote: > > I just tried to use [email protected] <angrygreg%[email protected]>< > angrygreg%[email protected] <angrygreg%[email protected]>> as > an email , and the > > Struts EmailValidator doesn't like it (Struts 2.2.1) > > > > I'm not that great at reading regexp.. it looks like maybe the regexp > > should support that email address.. but I'm not sure. > > > > Can anyone comment on whether EmailValidator is the best approach? > > > > -- > > Greg Akins > > > > http://insomnia-consulting.org > > http://www.pghcodingdojo.org > > http://pittjug.dev.java.net > > http://twitter.com/akinsgre > > http://www.linkedin.com/in/akinsgre > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > >

