title: Spring MVC doesn't load css, js files to static html pages
body: <p>I disabled the role of the <strong>InternalViewResolver</strong> in order to access some static pages, <strong>html</strong> not <strong>jsp</strong> pages, i made the required changed, indeed i made and i can access my html page, but when i see the browser's console it looks like it didn't bring my local <strong>css</strong> and <strong>js</strong> files.</p>
  
  <p><a href="https://i.stack.imgur.com/yVswy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yVswy.jpg" alt="Output 1 of the request"></a></p>
  
  <p>This is my project structure.</p>
  
  <p><a href="https://i.stack.imgur.com/DDTmt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DDTmt.jpg" alt="Project structure"></a></p>
  
  <p>This is my header page</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8" /&gt;
      &lt;title&gt;ECommerce view example&lt;/title&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script
          src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" type="text/css" href="/static/css/style.css"/&gt;
      &lt;link rel="stylesheet" type="text/css" href="/static/css/login.css"/&gt;
      &lt;script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyBR8P_sULnn-egsyhOb6qLYG2oqFshTiwY"&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p><strong>mvc-config.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;beans:beans xmlns="http://www.springframework.org/schema/mvc"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:beans="http://www.springframework.org/schema/beans"
          xmlns:context="http://www.springframework.org/schema/context"
          xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
              http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
              http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"&gt;
  
          &lt;annotation-driven&gt;&lt;/annotation-driven&gt;
          &lt;context:annotation-config&gt;&lt;/context:annotation-config&gt;
          &lt;context:component-scan base-package="ma.s2m.net"&gt;&lt;/context:component-scan&gt;         
          &lt;resources mapping="/static/**" location="/WEB-INF/static/"&gt;&lt;/resources&gt;
      &lt;/beans:beans&gt;
  </code></pre>