aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
Url not working
Passing parameters/ attributes to a custom validator
Why Struts?
Commons Validator vs SpringFramework Validator
Struts