Setup
Basically I have a set of Javascript inclusions like this inside of my JSP:
<script type="text/javascript" language="Javascript" src="/resources/javascript/core.js"></script>
Problem
However when I load this page I get an error saying:
http://localhost:8080/resources/javascript/core.js is not found (404)
Question
- Why is the '/' relative referencing causing resources folder to be referenced inside the localhost:8080 and not localhost:8080/myapp/resources?