File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts Validation Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validation Framework" Watch "Struts Validation Framework" New topic

Struts Validation Framework

Chinni Bujji
Ranch Hand

Joined: Jan 31, 2007
Posts: 60
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 ?
I agree. Here's the link:
subject: Struts Validation Framework
It's not a secret anymore!