JSP Tutorials - Herong's Tutorial Examples - Version 4.03, by Dr. Herong Yang
Verifying Tomcat 7 Server
This section provides a tutorial example on how to verify Apache Tomcat 7 server on a local system by accessing htt://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 IE (Internet Explorer) and enter this URL: "http://localhost:8080/".
You should see a default Web 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 sections on how to set up admin username and password properly.
Last update: 2012.
Table of Contents
JSP (JavaServer Pages) Overview
►Tomcat 7 Installation on Windows Systems
Downloading and Installing Tomcat 7
Setting Up Tomcat 7 Server Admin Access
Reviewing Tomcat 7 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)