Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Validation Framework

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