Hi,

you have to extend your form from ValidatorForm.


Frank

-----Ursprüngliche Nachricht-----
Von: Zakaria khabot [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. April 2004 12:56
An: Struts Users Mailing List; Struts Developers List
Betreff: validation.xml


Hi all,

How to call the validator from an Action.
- in struts-config I put validate="false",
- I am using validation.xml to control erors.
- In the action I wrote :            
ActionErrors errors = new ActionErrors();

errors = form.validate(mapping, request);

but it executes the validate methode in the formAction not in the validation.xml.



Thanks for help... 



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

Reply via email to