JSP Tutorials - Herong's Tutorial Examples - Version 4.03, by Dr. Herong Yang
My First HTML Page - hello.html
This section provides a tutorial example on how to create the first Web page with HTML code to test the Tomcat 7 Web server.
Now I am ready to create my first Web page written as an HTML file on the Tomcat server.
1. Create a text file called hello.html with the following HTML code:
2. Save this HTML file to the default application folder:
3. Run a Web browser with this URL: http://localhost:8080/hello.html.
You should see the "Hello world!" message in the browser:
Congratulations! Now, we have confirmed that Tomcat 7 server is running as a Web server:
Last update: 2012.
Table of Contents