Re: Email validation regex - client vs. server

2012-10-07 Thread stanilas
maybe you have clean your cache browser --- En date de : Dim 7.10.12, stoupa91devel [via Struts] a écrit : De: stoupa91devel [via Struts] Objet: Re: Email validation regex - client vs. server À: "stanilas" Date: Dimanche 7 octobre 2012, 13h20 On 10/07/2012 02:27 AM, Luk

Re: Email validation regex - client vs. server

2012-10-07 Thread Martin Uhlir
On 10/07/2012 02:27 AM, Lukasz Lenart wrote: 2012/10/6 : Hi all, I'm using @EmailValidator annotation to check an email address. The Struts2 documentation http://struts.apache.org/2.x/docs/email-validator. html(http://struts.apache.org/2.x/docs/email-validator.html) mentions that following reg

Re: Email validation regex - client vs. server

2012-10-06 Thread Lukasz Lenart
2012/10/6 : > Hi all, > > I'm using @EmailValidator annotation to check an email address. > The Struts2 documentation http://struts.apache.org/2.x/docs/email-validator. > html(http://struts.apache.org/2.x/docs/email-validator.html) mentions that > following regular expression is being used to chec

Email validation regex - client vs. server

2012-10-06 Thread
Hi all, I'm using @EmailValidator annotation to check an email address. The Struts2 documentation http://struts.apache.org/2.x/docs/email-validator. html(http://struts.apache.org/2.x/docs/email-validator.html) mentions that following regular expression is being used to check the email address: \\

Re: Regular expressions - Email Validation

2010-03-31 Thread seeking_solution
xml escape is working fine. thanks. -- View this message in context: http://old.nabble.com/Regular-expressions---Email-Validation-tp28097766p28099880.html Sent from the Struts - User mailing list archive at Nabble.com. - To

Re: Regular expressions - Email Validation

2010-03-31 Thread Brian Thompson
Z\.]*[a-zA-Z])[\s]*$ >> >> I also tried escaping special char using \&. >> >> But its not working. gives error at deploy time. >> >> Please help >> >> > > -- > View this message in context: > http://old.nabble.com/Regular-expressio

Re: Regular expressions - Email Validation

2010-03-31 Thread seeking_solution
-za-z0-9]([\w\.-&]*[a-zA-Z0-9])*\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z])[\s]*$ > > I also tried escaping special char using \&. > > But its not working. gives error at deploy time. > > Please help > > -- View this message in context: http://old.nabble.com/Regular-expression

RE: Regular expressions - Email Validation

2010-03-31 Thread adam pinder
try & instead of & > Date: Wed, 31 Mar 2010 08:41:39 -0700 > From: pankajj.j...@gmail.com > To: user@struts.apache.org > Subject: Regular expressions - Email Validation > > > In struts I have regular expression f

Re: Regular expressions - Email Validation

2010-03-31 Thread Chris Pratt
t; OR > > > ^([a-zA-Z0-9]([\w\.-]*[a-zA-Z0-9])*[...@[a-za-z0-9]([\w\.-&]*[a-zA-Z0-9])*\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z])[\s]*$ > > I also tried escaping special char using \&. > > But its not working. gives error at deploy time. > > Please help > > -- > View t

Regular expressions - Email Validation

2010-03-31 Thread seeking_solution
y time. Please help -- View this message in context: http://old.nabble.com/Regular-expressions---Email-Validation-tp28097766p28097766.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: [U] Email Validation Issue

2009-08-31 Thread Norris Shelton
NorrisEShelton YIM norrisshelton From: Dave Newton To: Struts Users Mailing List Sent: Friday, August 28, 2009 6:19:45 PM Subject: Re: [U] Email Validation Issue Ginn, Timothy D Mr CTR USA TRADOC USAAC wrote: > I have run into a bump in the road.  I am trying to valid

Re: [U] Email Validation Issue

2009-08-28 Thread Dave Newton
Ginn, Timothy D Mr CTR USA TRADOC USAAC wrote: I have run into a bump in the road. I am trying to validate a list of Strings that contain email addresses. I can't seem to get it to check the emails to be a valid email using the annotation validation. Could someone please let me know if this

[U] Email Validation Issue

2009-08-28 Thread Ginn, Timothy D Mr CTR USA TRADOC USAAC
UNCLASSIFIED I have run into a bump in the road. I am trying to validate a list of Strings that contain email addresses. I can't seem to get it to check the emails to be a valid email using the annotation validation. Could someone please let me know if this is possible or if I am doing so

Email validation

2008-10-12 Thread Tobin Juday
Hi all. I noticed that the built-in Struts2 email validator is too strict with characters it allowd. In my case, it was preventing me from using Gmail's trick with the plus sign. (If I have the email address [EMAIL PROTECTED], I can add a plus sign and any additional text, and it all gets "forwar

Re: Email validation doesn't work

2006-06-02 Thread Caroline Jen
The Struts has built-in e-mail validation, which can be found in the commons-validator.jar. --- Bart Busschots <[EMAIL PROTECTED]> wrote: > Hi, > > Your regular expression on the mask would seem to be > problem. I presume > you want it to match words that contain no = rather > than what you ha

Re: Email validation doesn't work

2006-06-02 Thread Bart Busschots
Hi, Your regular expression on the mask would seem to be problem. I presume you want it to match words that contain no = rather than what you have at the moment which forces ALL letters to be = which I'm sure doesn't work. The RE you need is: ^[^=]+$ HTH, Bart. marisol wrote: Can anybody

Email validation doesn't work

2006-06-02 Thread marisol
Can anybody help me with this? THANKS! Marisol. With Struts Validator Framework, the following mail is valid [EMAIL PROTECTED] I tried with the following but it doesn't work. mask ^[=]*$ Anyone knows if there's a bug place or it's me doin

Email validation doesn't work

2006-06-01 Thread marisol
With Struts Validator Framework, the following mail is valid [EMAIL PROTECTED] I tried with the following but it doesn't work. mask ^[=]*$ Anyone knows if there's a bug place or it's me doing something wrong??? THANKS! Marisol. -

[OT] Re: email validation

2006-04-26 Thread Dave Newton
Marisol Opreni wrote: > This doesn't work... Any ideas? THANKS! > [EMAIL PROTECTED] > Have you googled for "email regex" or used regexes before? Here you've validating for a single character (and possibly incorrectly at that, but I don't really remember the ORO regexes; is . a sp

RE: email validation

2006-04-26 Thread Marisol Opreni
o: Re: email validation Bart Busschots wrote: > If you go the first route you'll have to write a regular expression > for an entire email address *shudder* |^[a-zA-Z]([.]?([[:alnum:]_-]+)*)?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$ |is sort of right, except I'd be nervous about the {2

Re: email validation

2006-04-26 Thread Dave Newton
Bart Busschots wrote: > If you go the first route you'll have to write a regular expression > for an entire email address *shudder* |^[a-zA-Z]([.]?([[:alnum:]_-]+)*)?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$ |is sort of right, except I'd be nervous about the {2,4} for domains since there's stuff like

Re: email validation

2006-04-26 Thread Bart Busschots
OK, in that case the same advice applies, use the mask validation either on it's own or in conjunction with the email validation. If you go the first route you'll have to write a regular expression for an entire email address, if you go the second routs you'll just need a mask

Re: email validation

2006-04-26 Thread Brett Connor
My reading of the RFC (a while ago, I can't quote) is that the local part of the name (the bit before the @) is not to be validated by intermediate hosts and can contain more or less anything, although whitespace is not recommended. > > An email can only have " . ", " - ", " _ ", " @ " characters.

RE: email validation

2006-04-26 Thread Marisol Opreni
12:19 p.m. Para: Struts Users Mailing List Asunto: Re: email validation Hi, As far as I'm aware, according to the RFCs, '=' is not valid in email addresses. If you do want to allow these technically illegal characters into your email addresses then your best bet would be to use

Re: email validation

2006-04-26 Thread Bart Busschots
Hi, As far as I'm aware, according to the RFCs, '=' is not valid in email addresses. If you do want to allow these technically illegal characters into your email addresses then your best bet would be to use the mask validation and specify your own regular expression for what you consider to b

RE: email validation

2006-04-26 Thread Chaudhary, Harsh
The simplest way could be to use a mask in addition to the email validation. Harsh. -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 10:13 AM To: 'Struts Users Mailing List' Subject: email validation Hi! I'm using v

email validation

2006-04-26 Thread Marisol Opreni
Hi! I'm using validating email address with the Struts Valdator Framework. An email can only have " . ", " - ", " _ ", " @ " characters. But an "=" character isn't validated. I'm saying. a [EMAIL PROTECTED] is VALID mail. How can I validate this??? THANKS! Marisol

Re: Email Validation for .info Domain Qualifier

2006-04-12 Thread Jeff Deskins
1.3.0 into the Struts application and the email validation did accept the .info TLD correctly. Thanks, Jeff On 4/12/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > On 4/6/06, Jeff Deskins <[EMAIL PROTECTED]> wrote: > > A user kept getting an email validation error

Re: Email Validation for .info Domain Qualifier

2006-04-12 Thread Niall Pemberton
On 4/6/06, Jeff Deskins <[EMAIL PROTECTED]> wrote: > A user kept getting an email validation error when entering his email > address (ex: [EMAIL PROTECTED]) on one of our sites that uses Struts. > Apparently, the Struts email validation doesn't like the 4 character domain &

Re: Email Validation for .info Domain Qualifier

2006-04-09 Thread Laurie Harper
Jeff Deskins wrote: A user kept getting an email validation error when entering his email address (ex: [EMAIL PROTECTED]) on one of our sites that uses Struts. Apparently, the Struts email validation doesn't like the 4 character domain qualifier (.info in this case - I believe there m

Email Validation for .info Domain Qualifier

2006-04-06 Thread Jeff Deskins
A user kept getting an email validation error when entering his email address (ex: [EMAIL PROTECTED]) on one of our sites that uses Struts. Apparently, the Struts email validation doesn't like the 4 character domain qualifier (.info in this case - I believe there may be others). I look

Multiple Email Validation

2005-01-05 Thread hemant sharma
Hi   I was facing problem in validating multiple Email Addresses given in a form field. As the validator-rules.xml in Validator Framework contains validation for only single Email Address. I tried to modify the code of the existing Email Validator in validator-rules.xml, but it didn't work.   So

RE: Email Validation

2004-04-13 Thread Andrew Hill
Users Mailing List Subject: RE: Email Validation Try this instead, /^(([^<>()[\]\\.,;:[EMAIL PROTECTED]"]+(\.[^<>()[\]\\.,;:[EMAIL PROTECTED]"]+)*)|(\".+\"))@((\[[0-9]{1 ,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}) )$/ -Richa

RE: Email Validation

2004-04-13 Thread Richard Yee
gt; wrote: > look like it accepts some invalid email address eg. > [EMAIL PROTECTED],[EMAIL PROTECTED] > > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 13, 2004 2:12 PM > To: 'Struts Users Mailing List' > Subjec

RE: Email Validation

2004-04-13 Thread Ramadoss Chinnakuzhandai
look like it accepts some invalid email address eg. [EMAIL PROTECTED],[EMAIL PROTECTED] -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 2:12 PM To: 'Struts Users Mailing List' Subject: RE: Email Validation Whoops. Should have rea

RE: Email Validation

2004-04-13 Thread Joe Hertz
ent: Tuesday, April 13, 2004 2:04 PM > To: 'Struts Users Mailing List' > Subject: RE: Email Validation > > > Why not use the built in email validator?? > > In your validation.xml: > > depends=email > > > > > -Original Message- &

RE: Email Validation

2004-04-13 Thread Joe Hertz
Why not use the built in email validator?? In your validation.xml: depends=email > -Original Message- > From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 13, 2004 12:55 PM > To: [EMAIL PROTECTED] > Subject: Email Validation > >

Email Validation

2004-04-13 Thread Ramadoss Chinnakuzhandai
Hi, I'm using custom email validation using mask defined in my validation.xml...when I enter an invalid email as [EMAIL PROTECTED] it fails to validate the . (dot symbol infront of xyz.com) as a invalid one though I metioned expression value must be of [A-Z0-9a-z] after @ Followi