Reputation: 2124
I am hosting a JBoss server locally using IntelliJ-Idea, and am running into a problem routing.
The source files are stored in an artifact named 'web' under a sub-folder named 'resources'.
This means that the default page 'index.html' is hosted locally at
localhost:8080/web/resources/index.html.
How can I change this routing so that
localhost:8080/index.html points to the same file? I ask because a bunch of JavaScript libraries reference the project root, and the web/resources piece of the URL is interfering.
Thanks
Upvotes: 0
Views: 34