title: Tomcat serving static resources on Spring MVC app
body: <p>I'm building a Spring MVC application, and the frontController servlet is mapped in  "/" intercepting all requests, I'd to be able to serve the static contents (.js,.css,.png...) from tomcat and not by Spring.
  My app structure is</p>
  
  <pre><code>-webapp/
     styles/
     images/
     WEB-INF/
            views/
  </code></pre>
  
  <p>By default, because the frontController is mapped on the context root of my app its handles all requests but don't serve any static resource.
  The mvc configurarion for static resources is follow.</p>
  
  <pre><code>&lt;mvc:resources mapping="/resources/**" location="/"/&gt;
  </code></pre>
  
  <p>And the page's code is:</p>
  
  <pre><code>&lt;img src="resources/images/logo.png" /&gt;
  </code></pre>
  
  <p>I need to configure Tomcat to serve the static resources <strong>with no spring interaction</strong>.</p>
  
  <p>Any suggestion?</p>