title: Web.xml - url pattern mapped twice
body: <p>A web.xml of ours contains following excerpt..</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;testServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;
          org.springframework.web.servlet.DispatcherServlet
      &lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;testServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;filter&gt;
      &lt;filter-name&gt;anotherServlet&lt;/filter-name&gt;
      &lt;filter-class&gt;com.test.anotherServlet&lt;/filter-class&gt;    
  &lt;/filter&gt;
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;anotherServlet&lt;/filter-name&gt;
      &lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>I need to understand as to how the container maps when an *.htm (say hello.htm ) url is encountered ..what happens when such a request happens.</p>