title: Web.xml - not redirecting specific file or url to servlet
body: <p>I want to redirect all connections (<code>/*</code>) to a specific servlet, except a specific file (<code>someFile.xml</code>).</p>
  
  <p>I have the following section in web.xml:</p>
  
  <pre><code>&lt;servlet-mapping&gt;
        &lt;servlet-name&gt;someServlet&lt;/servlet-name&gt; 
        &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>How can I modify it so that <code>/someFile.xml</code> will not be mapped to this servlet.</p>
  
  <p>If I cannot do it using <code>web.xml</code>, is there some other way?</p>