title: web.xml url-pattern - serving both application wide together with more specific
body: <p>I'm learning Vaadin and Java web development. Vaadin suggests to redirect all the URLs to <code>com.vaadin.server.VaadinServlet</code> via use of <code>&lt;url-pattern&gt;/*&lt;/url-pattern&gt;</code> in web.xml.
  I also want to handle some additional URLs with separate servlets, e.g.:</p>
  
  <pre><code>&lt;servlet-mapping&gt;
      &lt;servlet-name&gt;JnlpGenerator&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.jnlp&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>Is there any way to achive this, while having such a wide pattern, as <code>/*</code> is? At my current configuration, any call to e.g. <code>http://localhost:8080/myapp/applet.jnlp</code> is ignored, because <code>/*</code> takes over and Vaadin application starts up.</p>
  
  <p>I'll appreciate some help :-)</p>