File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes validator framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validator framework" Watch "validator framework" New topic
Author

validator framework

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
Hi...
Anybody please explain to what is difference between validator-rules.xml and validation.xml
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Have you looked in the file(s) to see what they define? And checked the configuration examples?

I mean, the obvious answer is very simple, so I'm assuming you're looking for something beyond that?
Duc Vo
Ranch Hand

Joined: Nov 20, 2008
Posts: 254
raj chiru wrote:Hi...
Anybody please explain to what is difference between validator-rules.xml and validation.xml

validator-rules.xml -> defines what rules are available for validation.
validation.xml -> defines forms to be validated, fields to be validated with rules specified in the validator-rules.xml file.

These files are by convention. If you put the contents in one file, it should still work.


“Everything should be as simple as it is, but not simpler.” Albert Einstein
Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
David Newton wrote:Have you looked in the file(s) to see what they define? And checked the configuration examples?

I mean, the obvious answer is very simple, so I'm assuming you're looking for something beyond that?




Yes, i want to know something beyond that
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

And beyond what the other response said?!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validator framework