aspose file tools
The moose likes Struts and the fly likes Validation.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Validation.xml" Watch "Validation.xml" New topic
Author

Validation.xml

S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
Hi!
I was trying to use the Validator framework and had the validation.xml file as it is in the struts example. But when I ran the application, it always showed me a Servlet Action not found error.
Then reading from some forums I removed all the comments in the validation.xml file and it started working perfectly.

Could anyone tell me why this is happening ?

Thanks,
Bitz
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
That's a puzzler. I'm able to use this file exactly as it came from the download, comments and all. There may be some oddity in the XML parser used by your app server, or something may have been changed in the file to break the XML, and by removing the comments, you somehow fixed it. The important thing is you found a way to make it work.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Validation.xml
 
Similar Threads
not generating validation.xml file
DynaValidationForm in MyEclipse
validator.xml doubt
HI
Explanation needed: Page attribute in validation.xml file