jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Struts Validator Framework error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validator Framework error" Watch "Struts Validator Framework error" New topic

Struts Validator Framework error

omkar prem

Joined: Dec 17, 2006
Posts: 8

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.





where the problem exist i am unable to trace.

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

I`m not sure about this, but have you add commons-validator .jar file in lib ..

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
omkar prem

Joined: Dec 17, 2006
Posts: 8
yes commons-validator.jar is added
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts Validator Framework error
It's not a secret anymore!