ValidatorForm is not a DynaForm, which means to use it, you should create a class that extends it, and define your properties as instance variables the way you would if you were to extend ActionForm. However, you could define validation rules through Validator and so your form won't have to implement the validate() method.
DynaValidatorForm and DynaValidatorActionForm are both DynaForms which means you don't need to create new classes for each form, you just need to configure them in your struts configuration file. You specify their validation rules through Validator. For DynaValidatorForm, Validator will look for validation rules by matching the form name. For DynaValidatorActionForm, Validator will apply rules according to what path the form is being submitted to. You would use DynaValidatorActionForm in cases where you want to use the same form for different pages that are submitted to different actions, and they need to use different validation rules. Hubert On Wed, 22 Dec 2004 14:09:34 -0800 (PST), Caroline Jen <[EMAIL PROTECTED]> wrote: > What are the differences among ValidatorForm, > DynaValidatorForm, and DynaValidatorActionForm? And > when to use each of them? > > __________________________________ > Do you Yahoo!? > Dress up your holiday email, Hollywood style. Learn more. > http://celebrity.mail.yahoo.com > > --------------------------------------------------------------------- > 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]