> Which validate method is better? Declare the validate conditions in > the validation.xml or override the ActionForm.validate()?Thanks for your > respose! >
I don't know that it is better, but I prefer using the validator framework to define all of my validations. For me it makes it much more clear what is going on, as all my validation code is basically in the same place. Also, when you have validations that are the same, you don't have to define it in 2 different validate() methods - you already have the validation setup and can just re-reference it. It also has the added bonus of being able to define both client and server side validations in the same place, which is extremely handy. Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]