title: struts setup sample application on eclipse
body: <p>I am new to strut/web programming and I thought I could learn a lot by reading a sample app. On google, I searched and found a sample app at
  <a href="http://www.roseindia.net/struts/struts2/struts2tutorial.zip" rel="nofollow noreferrer">http://www.roseindia.net/struts/struts2/struts2tutorial.zip</a> , the tutorial is really nice and it gives a sample login page.</p>
  
  <p>However, I couldn't run this sample app. I tried posting on the roseindia.net site and got no help neither.</p>
  
  <p>There is no error logged during the start of the server, but when I try and open one of the helloworld's link the following is outputted</p>
  
  <p>I am getting this error</p>
  
  <blockquote>
    <p>SEVERE: Could not find action or result There is no Action mapped for
    action name HelloWorld. - [unknown location]</p>
  </blockquote>
  
  <p>The folder structure of this thing on my eclipse is</p>
  
  <pre><code>/WebContent/WEB-INF/java/net/roseindia/Struts2HelloWorld.java
  /WebContent/pages/HelloWorld.jsp
  /WebContent/WEB-INF/struts.xml
  </code></pre>
  
  <p>while in strut.xml the sample had..<br>
  </p>
  
  <pre><code>    &lt;action name="HelloWorld" class="net.roseindia.Struts2HelloWorld"&gt;
          &lt;result&gt;/pages/HelloWorld.jsp&lt;/result&gt;
      &lt;/action&gt;
  </code></pre>
  
  <p>I am suspecting something in the strut.xml is wrong? I am using eclipse J2EE and tomcat6, I have already tried posting on roseindia's site and got no help.</p>