Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validaion.xml and validaton-rules.xml file not calling

 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using validator framework for my struts application. i have created validation.xml and vcalidaton-rules.xml file and i have added validator plugin in struts-config.xml. also i am getting the message as "loading web-inf/validation.xml and web-inf/validation.rules.xml" when i start the application. i have added only three validator elements(required,minlength and integer) only in my validation-rules.xml file. below are the contents of validation.xml file.


whats my problem is when i submit the form without userName userId etc the validation is not occuring for anything.
FYI: i am getting 403 forbidden warning for the doctype i have added. is this the problem?
please help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic