Hi Ansari,

Already tested the email in this URL?
http://struts.apache.org/1.x/faqs/validator.html

Best regards,
Oscar.

2012/2/21 danish ansari <mohddanish27...@gmail.com>

> Hello there ,
> I am working on struts 1.2 validation.
> I am having a requirement which i am unable to implement.
> I am having two fields username and email form resetting the password.
> user has to enter any one of them if user does not enter any field then a
> message must be pop up that enter at least one field.
> if user has entered username then email should not be validated.
> but if the user entered the email then email must be verified for valid
> email input.
> i have to implement this using XML only. I cant override the validate()
> Please provide me sample XML code.I have wasted a lot of time on it.
> Thank you
>



-- 
Atentamente
Óscar

Reply via email to