title: servlet action is not available
body: <p>a strange thing is happening when i call servlet using struts, if i call it from my local host it gets called but when i deploy it on my web server it throws an error saying "<strong>servlet action is not available</strong>"</p>
  
  <p>here's my web.xml</p>
  
  <pre><code>   &lt;servlet&gt;
              &lt;servlet-name&gt;action&lt;/servlet-name&gt;
              &lt;display-name&gt;socialauthdemo&lt;/display-name&gt;
              &lt;description&gt;Application for socialauth demo&lt;/description&gt;
              &lt;servlet-class&gt;org.apache.struts.action.ActionServlet&lt;/servlet-class&gt;
              &lt;init-param&gt;
                      &lt;param-name&gt;config&lt;/param-name&gt;
                      &lt;param-value&gt;/WEB-INF/struts-config.xml&lt;/param-value&gt;
              &lt;/init-param&gt;
              &lt;init-param&gt;
                      &lt;param-name&gt;debug&lt;/param-name&gt;
                      &lt;param-value&gt;2&lt;/param-value&gt;
              &lt;/init-param&gt;
              &lt;init-param&gt;
                      &lt;param-name&gt;detail&lt;/param-name&gt;
                      &lt;param-value&gt;2&lt;/param-value&gt;
              &lt;/init-param&gt;
              &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
              &lt;servlet-name&gt;action&lt;/servlet-name&gt;
              &lt;url-pattern&gt;*.do&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>my struts-config.xml is as follows -</p>
  
  <pre><code>&lt;action-mappings&gt;
  
              &lt;action path="/socialAuth" type="com.auth.actions.SocialAuthenticationAction" name="authForm" scope="session"&gt;
                      &lt;forward name="failure" path="/jsp/error.jsp" /&gt;
              &lt;/action&gt;
  
              &lt;action path="/socialAuthSuccessAction" type="com.auth.actions.SocialAuthSuccessAction" name="authForm" scope="session"&gt;
                      &lt;forward name="success" path="/jsp/authSuccess.jsp" /&gt;
                      &lt;forward name="failure" path="/jsp/error.jsp" /&gt;
              &lt;/action&gt;
  
      &lt;/action-mappings&gt;
  </code></pre>
  
  <p>i have added the <strong>strus.jar</strong> file to y web-inf/lib folder</p>
  
  <p>please let me know if there is something i am missing </p>
  
  <p>Thanks</p>