• Post Reply Bookmark Topic Watch Topic
  • New Topic

Validation.xml

 
S bitz
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!