title: how to load js file in spring mvc
body: <p>i am trying to load the js file in spring mvc project.</p>
  
  <p>although i done the mapping in servlet file but still the file not getting loaded.</p>
  
  <p>Here is the jsp file</p>
  
  <p><a href="https://i.stack.imgur.com/i9EfY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i9EfY.png" alt="enter image description here"></a></p>
  
  <p>here is the mapping file</p>
  
  <p><a href="https://i.stack.imgur.com/cvZMs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cvZMs.png" alt="enter image description here"></a></p>
  
  <p>Even i tried this </p>
  
  <pre><code>&lt;script type="text/javascript" src="/resources/app.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But things are not working</p>
  
  <p>Please help</p>