title: Importing a css file (CDN vs Local)
body: <p>There's something strange about this.</p>
  
  <p>If I use:</p>
  
  <pre><code>&lt;link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet"&gt;
  </code></pre>
  
  <p>All works fine. But If I download it (i need to download to work offline) and then use (<strong>yes, the path is correct</strong>:</p>
  
  <pre><code>&lt;link rel="stylesheet" href="../resources/css/lib/font_awesome/all.css"&gt;
  </code></pre>
  
  <p>I get</p>
  
  <blockquote>
    <p>fa-solid-900.woff2 Failed to load resource: the server responded with
    a status of 404 (Not  (Not Found) fa-solid-900.woff Failed to load
    resource: the server responded with a status of 404 (Not Found)
    fa-solid-900.ttf Failed to load resource: the server responded with a
    status of 404 (Not Found)</p>
  </blockquote>
  
  <p><strong>Why the cdn doesn't give me any error and the other does?</strong></p>
  
  <p>Web.xml</p>
  
  <pre><code>&lt;servlet-mapping&gt;
      &lt;servlet-name&gt;default&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.woff2&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;default&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.woff&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;default&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.ttf&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>