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
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
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
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:
\\
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
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
-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
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
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
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
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
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
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
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
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
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
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
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.
-
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
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
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
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
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.
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
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
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
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
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
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
&
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
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
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
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
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
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
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-
&
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
>
>
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
38 matches
Mail list logo