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 2?

Client side validation will base on validation rules defined with
Annotations and XML files, just add validate="true" to your form [1]

[1] http://struts.apache.org/2.1.2/docs/client-side-validation.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to