title: JavaScript - Error 404 resource not found
body: <p>I had a java script in my JSP, which worked fine. Now I want to move it to it's own file (abc.js). I created js-Folder and placed it there.
  I tried to include it with <code>&lt;script language="JavaScript" type="text/javascript" src="./js/abc.js"&gt;&lt;/script&gt;</code> which links to <code>http://localhost:8080/ProjectName/js/abc.js</code> (from link in HTML-Code of the page). I think this should be correct, isn't it? </p>
  
  <p>Nevertheless I get errors in the browser console (<code>Failed to load resource: the server responded with a status of 404 () abc.js</code>)   </p>
  
  <p><strong>Do I have to register the .js somewhere to be recognized?</strong></p>
  
  <p>Edit: My project structure is like this:</p>
  
  <pre><code>ProjectName
     |---WEB-INF
            |---page.jsp (that wants to include abc.js)
            |---js
                 |---abc.js
  </code></pre>