O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running Tomcat

Before you can start playing with Tomcat for real, you'll need to set it up. Refer to Appendix A,“Getting and Installing JDK and Tomcat,” for the appropriate walkthrough for your operating system and setup for Tomcat.

Under Linux, you won't see much because the process is running in the background. Under Windows, you'll see the startup window shown in Figure 1.1.

Figure 1.1. The Tomcat startup window.

By default, Tomcat listens on port 8080, so if you open up a browser and cruise to http://localhost:8080, you'll see the Tomcat splash page (shown in Figure 1.2).

Figure 1.2. The Tomcat splash page.

Poking around in the JSP examples ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required