Monday, August 27, 2018

Deploy Single HTML in Apache tomcat server


  1. Create a folder in webapps folder e.g. 'CustomApp'
  2. Put your html in this folder e.g. first.html
  3. Start tomcat and point your browser to url "http://localhost:8080/CustomApp/first.html"
Note:
  1. If the name of your html file is 'index.html', it can be simply opened by the url:http://localhost:8080/CustomApp

No comments:

Post a Comment