• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Validator Framework error

 
omkar prem
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using a struts validation framework in a simple application. when i run the application i got exception

ValidatorResources not found in application scope under key "org.apache.commons.validator.VALIDATOR_RESOURCES"

i have already included the validator plugin in struts-config.xml and commans jars in my class path.

my UserForm class is extending the ValidatorForm.

UserForm


register.jsp


validator.xml


struts-config.xml


where the problem exist i am unable to trace.

Regard's
Omkar
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I`m not sure about this, but have you add commons-validator .jar file in lib ..
 
omkar prem
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes commons-validator.jar is added
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic