title: Spring boot : Add static web page (Angular) in a custom folder outside classpath folder (classes)
body: <p>How would I place the static contents in a WAR Archive.<br>
  I have tried placing them inside the classes folder and works fine, but to make the cleaner I am asked to put it outside the WEB-INF, in a custom folder. I was able to do that and make it work by setting the welcome page in web.xml</p>
  
  <pre><code>&lt;welcome-page&gt;'./app/index.html'&lt;/welcome-page&gt;
  </code></pre>
  
  <p>But the issue is that I don't want <em>'app'</em> to appear in my URL, when the pages were kept inside <em>classes/static</em> the index.html appeared in root(localhost:8080), but putting the pages in custom folder URL changed to - localhost:8080/app<br>
  Is there any way to keep the pages in a custom folder and still get the index page and its dependencies from root URL.</p>