title: Filters not working in Struts2
body: <p>for some unknown reason I'm not being able to use filter on struts2. I'm using apache tomcat and using filter to restrict user access ( I preffer rather than Interceptors). Is there any reason why my requests with <code>/tela-paciente</code> is not being filtering??</p>
  
  <pre><code>   &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;filter&gt;
          &lt;filter-name&gt;Paciente&lt;/filter-name&gt;
          &lt;filter-class&gt;br.ufg.inf.sas.filtros.FiltroPaciente&lt;/filter-class&gt;
      &lt;/filter&gt;
  
      &lt;filter-mapping&gt;
          &lt;filter-name&gt;Paciente&lt;/filter-name&gt;
          &lt;url-pattern&gt;/tela-paciente&lt;/url-pattern&gt;
      &lt;/filter-mapping&gt;
  </code></pre>