struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Thompson <elephant...@gmail.com>
Subject Re: Struts 2 - Global Validation
Date Wed, 03 Feb 2010 20:48:08 GMT
Could you quit spamming the list, please?



On Wed, Feb 3, 2010 at 2:46 PM, Arulmani V A <arulmani_s@yahoo.com> wrote:

> 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/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message