- Copy fonder /var/lib/tomcat8/webapps/ROOT to your folder.
cp -r /var/lib/tomcat8/webapps/ROOT /var/lib/tomcat8/webapps/{yourfolder}
- add your htmls, css, js, in your folder.
- browser “http://localhost:8080/{yourfolder}”
Notes:
- if you using chrome web browser and did wrong folder before, then clean web browser’s cache(or change another name) otherwise (sometimes) it always 404.
- The folder META-INF with context.xml is needed.