title: tomcat filter url-pattern problem
body: <p>Hi
  i have a tomcat server version 5.5.12 
  and i am using a filter, the problem is that for some files the filter works and for other it doesnt, for example for the path <strong>/software/files/generator.7z</strong> it works but for path <strong>/software/files/tokenizer.7z</strong> it doesnt.
  any idea what is the probelm ? 
  thanks.</p>
  
  <p>here is my filter tags in  the web.xml file.</p>
  
  <pre><code>&lt;filter&gt;
    &lt;filter-name&gt;LogFilter&lt;/filter-name&gt;
    &lt;filter-class&gt;servlet.filters.LogFilter&lt;/filter-class&gt;
    &lt;init-param&gt;
      &lt;param-name&gt;test-param&lt;/param-name&gt;
      &lt;param-value&gt;This parameter is for testing.&lt;/param-value&gt;
    &lt;/init-param&gt;
  &lt;/filter&gt;
  &lt;filter-mapping&gt;
     &lt;filter-name&gt;LogFilter&lt;/filter-name&gt;
     &lt;url-pattern&gt;/software/files/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>