Learn Java for Web Development

(Tina Meador) #1

58 CHAPTER 2: Building Web Applications Using Servlets and JSP


Figure 2-15 shows the homepage of Tomcat that you will see when you start Tomcat on your
machine by running startup.bat in the bin directory of Tomcat. A server machine makes its services
available to the Internet using numbered ports, one for each service that is available on the server.
For example, if a server machine is running a web server, the web server would typically be available
on port 80, or 8080 in the case of Tomcat.


Figure 2-15. Home page of the web server

Free download pdf