title: Struts 2.2.1 gives There is no Action mapped for namespace / and action name
body: <p>I've got a simple Struts 2 application that I build and deploy to glassfish with Netbeans.  When I point the web browser to <a href="http://localhost:8080/Struts2Hello/login.action/" rel="nofollow noreferrer">http://localhost:8080/Struts2Hello/login.action/</a> it gives this error:</p>
  
  <p>There is no Action mapped for namespace / and action name .</p>
  
  <p>My action is named "login".  Why does it think it is named "."?</p>
  
  <p>(In order to get this far I've also had to add the javassist-3.7.ga to my lib/ directory.  I'm not sure why, but that's what others have done to make Struts 2.2 work.)</p>
  
  <p>Here's my web.xml and struts.xml files (yes, the struts.xml gets deployed to WEB-INF/classes):</p>
  
  <pre><code>&lt;filter-name&gt;struts2&lt;/filter-name&gt;
      &lt;filter-class&gt;org.apache.struts2.dispatcher.FilterDispatcher&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;
  </code></pre>
  
  <p>
      
      
      </p>
  
  <pre><code>&lt;package name="default" extends="struts-default" namespace="/"&gt;
  
      &lt;action name="login" class="action.LoginAction"&gt;
          &lt;result name="success"&gt;Welcome.jsp&lt;/result&gt;
          &lt;result name="error"&gt;Login.jsp&lt;/result&gt;
  
      &lt;/action&gt;
  &lt;/package&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thanks.</p>
  
  <p>Dean</p>