Re: Validation doubt

2008-06-30 Thread Narayana S
Hi Jeromy and Lukasz, Thanks for your reply, the information provided by you is really helpful. i could understand well about validation framework with your explanation. Thanks a lot. On Mon, Jun 30, 2008 at 1:45 PM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > Narayana S wrote: > >>

Re: Validation doubt

2008-06-30 Thread Jeromy Evans
Narayana S wrote: Hi, as per my understanding, we can implement validations in struts 2 in the following ways... 1. overriding validate() method in Action class Use the validate() method for complex validation that cannot be implement anywhere else. You want to avoid duplicating valid

Re: Validation doubt

2008-06-30 Thread Lukasz Lenart
Hi, > what is the clear difference between these 3 approaches? Annotations and XML allow you to only use defined validators, with validate() method you can do anything you want, base your validation on more complicated business rules. > and how can i implement client side validations in struts

Validation doubt

2008-06-30 Thread Narayana S
Hi, as per my understanding, we can implement validations in struts 2 in the following ways... 1. overriding validate() method in Action class 2. writing ActionClass-validation.xml file 3. using validator annotations validate method implements declarative security, ActionClass-valication.xml