Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

STRUTS VALIDATOR FRAMEWORK

 
Vicky Mohan
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use the validator framework provided by Struts for the application we develop.

I was wondering if there is any default validation-rules.xml file provided by Apache OR we need to develop one ??

Thanks in advance for your help.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there most definitely is a default validator-rules.xml file. It comes with the Struts download. Look in the lib folder.
 
Kanika Sud
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot find any default validation.xml file in the lib folder or /WEB-INF/. Does that mean I will have to write one myself?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic