Hello, I am a servlet/jsp beginner. I have following two questions. If they can be answered I will appreciate it. 1. I have a PC with windows ME, I want to run servlet/jsp on it. I heard I need two things: Tomcat 4.0 API and a web server. I have downloaded the following files from Tomcat: jakarta-tomcat-4.0.zip and jakarta-tomcat-4.0.exe. Are they just servlet API or do they include the web server part ? If they do not include any web server, then I have to install a web server. I heard that "IPlanet" and "Apache's Tomcat server" are good. But it seems they can only be installed on NT/2000, can they be installed on my windows ME ? Overall, what's the best way to download/install for free on the windows ME to make servlet/jsp work ?? I need your help please. 2. I have a Unix platform and it has apache web server plus Jrun. So far basic servlet and jsp codes can work well using it. Now, do you think tag library can work on this environemnt directly or do I need to install/add anything else to make it work ? Thanks, Tom
Provided that you have the JDK installed on your machine, Tomcat 4.0 includes everything that you need to get started with Servlets and JSPs. Easiest way (IMHO) is to unzip the jakarta-tomcat-4.0.zip file onto your c:\ drive. Open up a command prompt and set JAVA_HOME to point to your JDK installation, e.g. set JAVA_HOME=c:\jdk1.3 cd c:\jakarta-tomcat-4.0 bin\startup Open up your browser and type in http://localhost:8080 - if everything went well you should see the Tomcat "home page". Hope that helps ... have fun! Regards Simon ------------------ Simon Brown Co-author of Professional JSP 2nd Edition
Joined: Sep 21, 2001
Thanks for quick response Simon ! I do have JDK1.3 installed. When you said "Tomcat 4.0 should include everything for running servlet/jsp", do you mean that "jakarta-tomcat-4.0.zip" includes both servelt API and a web server ? I just want to find out whether I need to install a web server separately. Thanks lot, Tom
I believe that Tomcat can be configured to serve html and other non-Java content, but it's probably more common to use it in conjunction with a web server like Apache - less system overhead for high-volume sites.
Customer surveys are for companies who didn't pay proper attention to begin with.