title: How to specify mime-mapping using servlet 3.0 java config?
body: <p>I am using Servlet 3.0 and looking to convert my existing web.xml file to java config.  Configuring servlets/filters etc seems to be pretty straight away.  I can't figure out how to convert the following mime-mapping.  Can anyone help me out?</p>
  
  <pre><code>&lt;mime-mapping&gt;
      &lt;extension&gt;xsd&lt;/extension&gt;
      &lt;mime-type&gt;text/xml&lt;/mime-type&gt;
  &lt;/mime-mapping&gt;
  </code></pre>