Hi, 
How to do global validation in Struts 2 ? For example, in Struts 1, I can 
define all global regular expression validations in a file called 
validation-regexpr.xml such as :
<constant> <constant-name>alpha</constant-name> <constant-value>[A-Za-z]*</constant-value> </constant>
The above global regular expressions can be reused in other validation files as 
follows : <var> <var-name>mask</var-name> <var-value>${alpha}</var-value> </var>
Any help in this regard will be greatly appreciated.

Regards
Arul




      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Reply via email to