title: Spring MVC JavaScript
body: <p>In a Spring MVC app, what is the best approach for putting external JavaScript files in WEB-INF/ along with jsps?</p>
  
  <p>/WEB-INF/spring/foo.jsp which has an include of </p>
  
  <pre><code>  &lt;script src="foo.js"&gt;&lt;/script&gt;. 
  </code></pre>
  
  <p>I want foo.js in the WEB-INF/spring/ directory right beside the owning jsp?</p>
  
  <p>I've noticed Spring has a ResourceSerlvet, but I'm not sure if that is the way to do this...</p>