title: Catch-all (wildcard) servlet url-pattern overrides file extension patterns
body: <p>I would like to achieve the following:</p>
  
  <blockquote>
  <pre><code>/webapp-context/Page-1               -&gt; Handled by my custom "ContentServlet"
  /webapp-context/Another-Page         -&gt; Handled by my custom "ContentServlet"
  /webapp-context/Page-with-long-title -&gt; Handled by my custom "ContentServlet"
  
  /webapp-context/_cms/&lt;something&gt;.zul -&gt; Handled by ZK framework
  </code></pre>
  </blockquote>
  
  <p>My latest attempt looks like this (web.xml extract):</p>
  
  <blockquote>
  <pre><code>  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;zkLoader&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.zul&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;myContentServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  </code></pre>
  </blockquote>
  
  <p>Unfortunately now my content servlet handles all requests (I thought the more specific pattern takes precedence?).</p>
  
  <p>No conflict exists if i map my content servlet to the pattern "/webapp-context/content/*", but that's not what I want.</p>
  
  <p>Thanks for your time.</p>