title: How can I reroute a jboss server in IntelliJ so that it doesn't point at the .WAR?
body: <p>I am hosting a JBoss server locally using IntelliJ-Idea, and am running into a problem routing. </p>
  
  <p>The source files are stored in an artifact named 'web' under a sub-folder named 'resources'.</p>
  
  <p>This means that the default page 'index.html' is hosted locally at </p>
  
  <p>localhost:8080/web/resources/index.html.</p>
  
  <p>How can I change this routing so that </p>
  
  <p>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. </p>
  
  <p>Thanks</p>