JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
Verifying Tomcat Server
This section provides a tutorial example on how to verify Apache Tomcat server on a local system by accessing http://localhost:8080 on a Web browser.
When Tomcat server is started, it will serve as Web server on the local host at the default port, 8080. Here is what I did to verify this:
1. Start a Web browser like Chrome and enter this URL: http://localhost:8080/. You should see a default home page like this:
2. Click on the "Server Status" button on the right hand side of the screen. You should see a Windows Security dialog box that prompts you to enter server admin login and password.
At this point, I know my Tomcat server is running correctly on my local host.
3. If you enter "herong" as username and "tomcat" as password, the dialog box comes back again, indicating that the username or the password is invalid.
4. If you click on the "Cancel" button, you will get the "401 Unauthorized" screen, indicating that the authorization of accessing the admin pages failed.
Read next tutorials on how to set up admin username and password properly.
Table of Contents
JSP (JavaServer Pages) Overview
►Tomcat Installation on Windows Systems
Downloading and Installing Tomcat
Setting Up Tomcat Server Admin Access
Reviewing Tomcat Server Status Page
Tomcat Web Application Manager
My First HTML Page - hello.html
Syntax of JSP Pages and JSP Documents
JavaBean Objects and "useBean" Action Elements
Managing HTTP Response Header Lines
Non-ASCII Characters Support in JSP Pages
Overview of JSTL (JSP Standard Tag Libraries)
Multiple Tags Working Together
Using Tomcat on CentOS Systems
Connecting to SQL Server from Servlet