and the validate="true" or was that so obvious it didn't need mentioning...
sandeep -----Original Message----- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 7:08 AM To: 'Struts Users Mailing List' Subject: RE: validation.xml did you subclass from ValidatorForm instead of ActionForm ? cheers -----Original Message----- From: Zakaria khabot [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 12:56 PM To: Struts Users Mailing List; Struts Developers List Subject: 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]