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 for any amount of anything that's not an = so something like ([^=]*).

HTH, Bart.

Marisol Opreni wrote:
I know that... maybe I wasn't clear enough...
What I said was that... with Struts Validator Framework [EMAIL PROTECTED] is
a valid email.
I don't want that.

THANKS!
M.


-----Mensaje original-----
De: Bart Busschots [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 26 de Abril de 2006 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 the mask validation and specify your own regular expression for what you consider to be a valid email address.

HTH, Bart.

Marisol Opreni wrote:
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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to