• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

What is the major difference in Validator and Validation in struts program.
Please give anyone with example program.

Thks
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts can use a "Validator Framework" where you can define validation rules in XML files as opposed to implementing validation code in your Action Form's validate method. Is that what you are asking about? Generally the framework is easier to use but it likely will not cover all your validation needs. In these cased you can implement the validate method (or I suppose you could write your own validation rules for the framework).

- Brent
 
Paul Arockiaraj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Brent Sterling,

Thank you very much for your answer.

bye

Paul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!