title: Can't link css to jsp (Spring mvc)
body: <p>I am struggling with spring mvc file structure.</p>
  
  <p>I am able to display an image ressource in a jsp <strong>but not to link a css</strong> to it, even if they are at the same location !</p>
  
  <p>Here is my <strong>file structure</strong> :</p>
  
  <pre><code>/src
   /main
     /resources
     /webapps
        /resources
            main.css
            logo.png
        /views
            somePage.jsp
        /WEB-INF
           web.xml
           dispatcher-servlet.xml
           ....  
  </code></pre>
  
  <p>Here is what I have in my <strong>dispatcher</strong> :</p>
  
  <pre><code>      &lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;property name="prefix"&gt;
              &lt;value&gt;/views/&lt;/value&gt;
          &lt;/property&gt;
          &lt;property name="suffix"&gt;
              &lt;value&gt;.jsp&lt;/value&gt;
          &lt;/property&gt;
       &lt;/bean&gt;
  
    &lt;mvc:resources mapping="/resources/**" location="/resources/" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>And in my <strong>somePage.jsp</strong>  :</p>
  
  <pre><code> &lt;img src="&lt;c:url value="/resources/logo.png" /&gt;" alt="blabla" /&gt;
  
   &lt;link href="&lt;c:url value="/resources/main.css" /&gt;" rel="stylesheet" /&gt;
  
   ...
  </code></pre>
  
  <p>The <strong>image load correctly</strong> but <strong>not the css</strong>...</p>
  
  <p>Note : I have the following message in eclipse : : "invalid location of tag (link). " about the css link...</p>
  
  <p>If you have any idea, thank you by advance !</p>