struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <>
Subject RE: validation.xml
Date Wed, 07 Apr 2004 11:07:45 GMT
did you subclass from ValidatorForm
instead of ActionForm ?


-----Original Message-----
From: Zakaria khabot [] 
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

Thanks for help... 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message