Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts Validation Framework  RSS feed

Chinni Bujji
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have some questions regarding the Validation Framework in Struts

I am writing the validator-rules.xml and validation.xml.

The validation rules are written in validation.xml

validator-rules.xml contains some predefined routines that are reusable in validation.xml

where do i need to put javascript code
and if i use javascript dont i need to write the validation.xml ?

and in the validation.xml
how can find the mask value i.e how to evaulate the regular expression ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!