File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Difference Between Validations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Difference Between Validations

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
I want to know the difference between validate() in ActionForm and validation.xml , validator-rules.xml.
In validation.xml we can specify our own validations but in validator-rules.xml we have to follow the rules.
what is need for validate() in actionform
David Newton

Joined: Sep 29, 2008
Posts: 12617

Moved *again*, and locked, because you already asked it once. What about the answer given didn't you understand?
I agree. Here's the link:
subject: Difference Between Validations
It's not a secret anymore!