I want use Servlet 2.3 so I would like install Tomcat 4. How I can do it?? Thank you in advance.
Axel Janssen
Ranch Hand
Joined: Jan 08, 2001
Posts: 2164
posted
0
With Windows NT/2000/XP (I had no problems with XP) it is very easy: Get the product here: http://jakarta.apache.org/tomcat/index.html Install it. Important tip: Simplify the name of the directory where it gets installed. I call it C:\Tomcat4 Then you have to set two System variables in Settings/System / System (I dont use english ms-versions, so wording might be slithtly different. Click System Item near to where you deinstall software. There you click tab environment. Enter two variables: JAVA_HOME --> The path to your JDK2 (in my case its C:\jdk1.3) CATALINA_HOME --> The path to your Tomcat root. In my case its C:\Tomcat4 (Tomcat 3.x is similar. It only uses TOMCAT_HOME as second variable. So you might run both on one maschine. Then you have to reboot your computer (the two variables are not set otherwise). To start Tomcat I allways use the Dos-Command window and not the icons. Go to tomcat\bin directory and type startup. Open your browser. Type http://127.0.0.1:8080 You should see something. JUST SAW THAT THERE IS A EXPLANATION OF RANCHERO ASHIK IN TOMCAT_FORUM: http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=56&t=000036