aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validator Framework error" Watch "Struts Validator Framework error" New topic
Author

Struts Validator Framework error

omkar prem
Greenhorn

Joined: Dec 17, 2006
Posts: 8
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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
Greenhorn

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