Perform following  steps:

1. in Custom-forms.xml, put entries for all JSP fields with validators
like maxlength,required,excludeKnownBad etc.

2. in Struts Action-Mapping put validate=true.

3. Use <html:javascript form="formName"/> where formName must be same as
in actionMapping and in Custom-Forms.xml

Hope this helps
/Raman

-----Original Message-----
From: Gomathi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 06, 2006 2:50 PM
To: Struts Users Mailing List
Subject: validation in actionform


hai,
i am using validation in my application
i am using LoginForm to bean
this is ordinary action not a dynaactionform
how to validate form fields using validation.xml

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

Reply via email to