wood burning stoves 2.0
The moose likes Struts and the fly likes Struts 2 - Global Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Global Validation" Watch "Struts 2 - Global Validation" New topic

Struts 2 - Global Validation

arulmani shankar

Joined: Jan 28, 2010
Posts: 1

Any idea 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 :

The above global regular expressions can be reused in other validation files as follows :

I could not get information on how to do this in Struts 2, no luck with the Struts2 e-books also. Any help in this regard will be greatly appreciated ....

David Newton

Joined: Sep 29, 2008
Posts: 12617

I agree. Here's the link: http://aspose.com/file-tools
subject: Struts 2 - Global Validation
It's not a secret anymore!