The moose likes Struts and the fly likes Unable to load configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to load configuration" Watch "Unable to load configuration" New topic

Unable to load configuration

vinoth ramanathan

Joined: Oct 01, 2009
Posts: 22
I have been trying to run Struts 2 a simple helloworld program it is not working.

It is showing
The requested resource (/Example1/index.jsp) is not available.
And the following is from log file

Below is my struts.xml file
<?xml verion="1.0" ?>
<package name="default" extends="struts-default">
<action name="Helloworld" class="App.Helloworld">
<result name="SUCCESS">/success.jsp</result>
David Newton

Joined: Sep 29, 2008
Posts: 12617

Put a version directive in it.

Look closely.
It is sorta covered in the JavaRanch Style Guide.
subject: Unable to load configuration
jQuery in Action, 3rd edition