I l @ ve RuBoard |
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 DistributionPoint 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 DistributionOpen 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 TomcatClick Program, Run, and enter c:\jakarta-tomcat-4.0.1\bin\startup.bat You should see a window with content similar to this, indicating that Tomcat is up and running: Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Starting service Tomcat-Apache Apache Tomcat/4.0.1 If you open a browser and point it to http://localhost:8080/ , you should see the Web page shown in Figure A.1. Figure A.1. The Tomcat startup window.
Assuming that your JDK is installed correctly and that you have JAVA_HOME set, there's essentially no way that Tomcat will fail to start up. If it doesn't start, though, recheck your JDK install. |
I l @ ve RuBoard |