File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts File not found.

 
Paul Stevens
Ranch Hand
Posts: 2823
  • 0
  • 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
  • 0
  • 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: 17616
39
Android Eclipse IDE Linux
  • 0
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic