title: Filter mapping Url pattern *.action not working struts2
body: <p>in the struts2 web.xml application i have filter and servlet </p>
  
  <p>web.xml</p>
  
  <pre><code>...
  &lt;servlet&gt;
          &lt;servlet-name&gt;SchServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;com.vk.translate.report.SchServlet&lt;/servlet-class&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;SchServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/SchServlet&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  ...
  
  &lt;filter&gt;
          &lt;filter-name&gt;struts&lt;/filter-name&gt; 
          &lt;filter-class&gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
          &lt;!-- &lt;init-param&gt; &lt;param-name&gt;actionPackages&lt;/param-name&gt; &lt;param-value&gt;com.mycompany.myapp.actions&lt;/param-v2alue&gt; 
              &lt;/init-param&gt; --&gt;
      &lt;/filter&gt;
      &lt;filter-mapping&gt;
          &lt;filter-name&gt;struts&lt;/filter-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/filter-mapping&gt;
  
  ...
  </code></pre>
  
  <p>while invoking the servlet it maps that request as action since the Filer Url pattern as </p>
  
  <pre><code>&lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  </code></pre>
  
  <p>i try to modify that as</p>
  
  <pre><code> &lt;url-pattern&gt;/*.action&lt;/url-pattern&gt;
  </code></pre>
  
  <p>It showing error.Can u please help how can i call the servlet.</p>
  
  <pre><code>&lt;url-pattern&gt;/SchServlet&lt;/url-pattern&gt;
  </code></pre>
  
  <p>in this case while invoking the servlet it shows as</p>
  
  <blockquote>
    <p>There is no Action mapped for namespace [/] and action name
    [SchServlet] associated with context path [/TranslateApp].</p>
  </blockquote>