This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts File not found. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts File not found." Watch "Struts File not found." New topic
Author

Struts File not found.

Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
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

Joined: May 17, 2001
Posts: 2823
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

Joined: Jun 25, 2001
Posts: 17149
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts File not found.
 
It's not a secret anymore!