File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Soft Skills this week in the Jobs Discussion 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: 2902

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:
subject: Struts Validator Framework error