Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts File not found.

 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following error trying to run my first struts example.
[ERROR] ActionServlet - -Parsing error processing resource path /WEB-INF/struts-
config.xml <org.xml.sax.SAXException: Stopping after fatal error: File "" not fo
und.>
Here is the struts-config.xml file.

I tried removing everything but the struts-config start and end tags and still get the same error. Any ideas what I have done wrong?
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I copied in the blank example from the struts site and copied the example stuff to it and it worked. I think the ApplicationResources part was causing the error.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18014
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case it helps, look at http://www.mousetech.com/strutdemo/index.jsp
It's a site running Struts with attached database, and the pages are annotated so you can see the code that makes them work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic