On 11/23/06, robin bajaj <[EMAIL PROTECTED]> wrote:
Hi Folks,
I have an Email text field that I want to validate against Struts
validation framework's provided "email" Rule in validator-rules.xml.

Can I do this programmatically in Struts Action or ActionForm's java
code instead of
having to declaratively do it in validation.xml. ??
You can implement validate() method in ActionForm class, and use
EmailValidator class part of commons-validator package, as the Struts
use it.

Regards,
Adr

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

Reply via email to