Relative paths not working in web service IntelliJ 134.1160
I have a simple web project with an index.html at the project root, with js/jquery-1.11.0.js at the same level.
Page loads fine from this URL: http://localhost:63343/learn-jquery/index.html
But if I use this URL I get an HTTP 404. See it in the Chrome JavaScript console, too:
http://localhost:63343/learn-jquery/js/jquery-1.11.0.js
If I open the index.html and jQuery JavaScript from the file system using the browser it works fine.
What setting do I need to change so I can use relative paths? I'm using IntelliJ professional edition 134-1160.
Attachment(s):
index.html.zip
Please sign in to leave a comment.