title: Spring 3 mvc:resources causing mvc:interceptors to run multiple times
body: <p>in Spring 3 MVC dispather-servlet.xml with the configuration below, it seems like everytime a .js file is called the interceptor is kicked off.</p>
  
  <pre><code>&lt;mvc:interceptors&gt;
      &lt;bean class="com.something.SomeInterceptor" /&gt;
      &lt;/mvc:interceptors&gt;
  
      &lt;mvc:resources mapping="/js/**" location="/js/" /&gt;
      &lt;mvc:resources mapping="/jsp/**" location="/jsp/" /&gt;
  </code></pre>
  
  <p>My view/jsp calls four .js and the interceptor runs four times...</p>
  
  <p>What is the proper way to set up the xml file so that this does not happen?</p>
  
  <p>thanks</p>