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 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:

<html><body>Hello world!</body></html>

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:

Apache Tomcat - Hello HTML Page
Apache Tomcat - Hello HTML Page

Congratulations! Now, we have confirmed that Tomcat server is running as a Web server:

Table of Contents

 About This Book

 JSP (JavaServer Pages) Overview

Tomcat Installation on Windows Systems

 Downloading and Installing Tomcat

 Launching Tomcat Server

 Verifying Tomcat Server

 Setting Up Tomcat Server Admin Access

 Reviewing Tomcat Server Status Page

 Tomcat Web Application Manager

My First HTML Page - hello.html

 My First JSP Page - hello.jsp

 JSP Scripting Elements

 Java Servlet Introduction

 JSP Implicit Objects

 Syntax of JSP Pages and JSP Documents

 JSP Application Session

 Managing Cookies in JSP Pages

 JavaBean Objects and "useBean" Action Elements

 Managing HTTP Response Header Lines

 Non-ASCII Characters Support in JSP Pages

 Performance of JSP Pages

 EL (Expression Language)

 Overview of JSTL (JSP Standard Tag Libraries)

 JSTL Core Library

 JSP Custom Tags

 JSP Java Tag Interface

 Custom Tag Attributes

 Multiple Tags Working Together

 File Upload Test Application

 Using Tomcat on CentOS Systems

 Using Tomcat on macOS Systems

 Connecting to SQL Server from Servlet

 Developing Web Applications with Servlet

 Archived Tutorials


 Full Version in PDF/EPUB