Search

Deploy first app in Tomcat

1. Create a folder app1 under TOMCAT_HOME/webapps

2. Create a file first.html with below content under webapps.

    <h1>Hello world</h1>
   
3. Folder structure looks like



        TOMCAT_HOME
            |-webapps
                |-app1
                    |-first.html
   
4. Make sure your Tomcat is running(To know how to start Tomcat click here) and access http://localhost:8080/app1/first.html from browser to see below output.

No comments: