• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 - Global Validation

 
arulmani shankar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Arul
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic