Installing Tomcat Under Windows

With JDK and Ant in place, you can install the last piece of the basic JSP architecture—the JSP server itself. In this case, you'll be installing Apache Tomcat.

Downloading the Distribution

Point your browser to http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/ and select the binary zip file. Save the file to a known location.

Unpacking the Distribution

Open the saved file using a zip unarchiver and extract all the files, preferably to C:\ (which will create a directory C:\jakarta-tomcat-4.0.1). Be sure to click Use Folder Names in the Extract dialog box, if it's offered.

Testing Tomcat

Click Program, Run, and enter c:\jakarta-tomcat-4.0.1\bin\startup.bat

You should see a window with content ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.