This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Missing configuration resource for path /WEB-INF/struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Missing configuration resource for path /WEB-INF/struts-config.xml" Watch "Missing configuration resource for path /WEB-INF/struts-config.xml" New topic
Author

Missing configuration resource for path /WEB-INF/struts-config.xml

Kishore Kumar Reddy
Greenhorn

Joined: Aug 18, 2010
Posts: 7
Hi,

I am new to struts framework. I am expermenting with some basic examples on struts.

Here I had an error " Missing configuration resource for path /WEB-INF/struts-config.xml" when I tried to run the application.

I kept struts-config.xml under WEB-INF and there itself web.xml.

I configured struts-config.xml in web.xml,
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>

Please suggest where the change is required.

Harpreet Singh janda
Ranch Hand

Joined: Jan 14, 2010
Posts: 317

Try after putting the struts-config.xml file in classes folder.
 
GeeCON Prague 2014
 
subject: Missing configuration resource for path /WEB-INF/struts-config.xml