This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes Error using Struts Validator Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Error using Struts Validator Framework" Watch "Error using Struts Validator Framework" New topic
Author

Error using Struts Validator Framework

Nadda Habba
Greenhorn

Joined: Feb 16, 2005
Posts: 18
Hi, Iam trying to use Struts Validator Framework and am getting the below mentioned error. Please advice
Thanks in advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you're using Struts version 1.3 or above, the validator-rules.xml file is included in the struts-core-1.3.x.jar file, and should be referenced by the location '/org/apache/struts/validator/validator-rules.xml in your struts-config.xml file.

However, if you're using an earlier version of Struts, you should include the validator-rules file in your WEB-INF directory and reference it as /WEB-INF/validator-rules.xml.


Merrill
Consultant, Sima Solutions
Nadda Habba
Greenhorn

Joined: Feb 16, 2005
Posts: 18
The problem was with the dtd being referenced in validator-rules.xml and validator.xml. I modified it to refere to the local file rather than an interenet http:// url and it works. Thanks for the help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error using Struts Validator Framework
 
Similar Threads
Need help on the error
Head First page 740 getting error in log file
Error while trying to use Validator Framework
Running in tomcat5 but not in tomcat 6
getting error while loading action servlet for eg in the book Head First Servlet