title: The requested resource (/StrutsHelloWorld/) is not available. Jboss AS7 Server
body: <p>I'm trying to build my very first struts application using Jboss AS 7 Server.</p>
  <p><strong>I have the following error after deployed:</strong></p>
  <pre><code>HTTP Status 404 - /StrutsHelloWorld/
  
  type Status report
  
  message /StrutsHelloWorld/
  
  description The requested resource (/StrutsHelloWorld/) is not available.
  JBoss Web/7.0.13.Final
  </code></pre>
  <p>I followed the guide from <a href="http://viralpatel.net/blogs/tutorial-create-struts-2-application-eclipse-example/" rel="nofollow noreferrer">http://viralpatel.net/blogs/tutorial-create-struts-2-application-eclipse-example/</a> and changes my <code>web.xml</code> file on</p>
  <pre><code>&lt;filter-class&gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
  </code></pre>
  <p>I have no deployment error.</p>
  <p>the following is my files:</p>
  <p><strong><code>web.xml</code>:</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;web-app id=&quot;WebApp_9&quot; version=&quot;2.4&quot;
      xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
      xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
      xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot;&gt;
  
      &lt;display-name&gt;Struts2 Application&lt;/display-name&gt;
      &lt;filter&gt;
          &lt;filter-name&gt;struts2&lt;/filter-name&gt;
          &lt;filter-class&gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
      &lt;/filter&gt;
      &lt;filter-mapping&gt;
          &lt;filter-name&gt;struts2&lt;/filter-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/filter-mapping&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;Login.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  <p><strong><code>struts.xml</code>:</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
  &lt;!DOCTYPE struts PUBLIC
      &quot;-//Apache Software Foundation//DTD Struts Configuration 2.0//EN&quot;
      &quot;http://struts.apache.org/dtds/struts-2.0.dtd&quot;&gt;
  
  &lt;struts&gt;
      &lt;constant name=&quot;struts.enable.DynamicMethodInvocation&quot;
          value=&quot;false&quot; /&gt;
      &lt;constant name=&quot;struts.devMode&quot; value=&quot;false&quot; /&gt;
      &lt;constant name=&quot;struts.custom.i18n.resources&quot;
          value=&quot;ApplicationResources&quot; /&gt;
  
      &lt;package name=&quot;default&quot; extends=&quot;struts-default&quot; namespace=&quot;/&quot;&gt;
          &lt;action name=&quot;login&quot; 
              class=&quot;net.viralpatel.struts2.LoginAction&quot;&gt;
              &lt;result name=&quot;success&quot;&gt;Welcome.jsp&lt;/result&gt;
              &lt;result name=&quot;error&quot;&gt;Login.jsp&lt;/result&gt;
          &lt;/action&gt;
      &lt;/package&gt;
  &lt;/struts&gt;
  </code></pre>
  <p><strong>Jar files:</strong></p>
  <blockquote>
  <p>commons-fileupload-1.3.jar, commons-io-2.0.1.jar,
  commons-logging-1.1.3.jar, commons-logging-api-1.1.jar,
  freemarker-2.3.19.jar, ognl-3.0.6.jar, struts-core-2.3.15.1.jar,
  xwork-core-2.3.15.1.jar</p>
  </blockquote>