wood burning stoves 2.0*
The moose likes Servlets and the fly likes web server/servlet API installation question from a beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web server/servlet API installation question from a beginner" Watch "web server/servlet API installation question from a beginner" New topic

web server/servlet API installation question from a beginner

Tom Xavier

Joined: Sep 21, 2001
Posts: 4
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 ?

Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
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
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!
Simon Brown
Co-author of Professional JSP 2nd Edition
Tom Xavier

Joined: Sep 21, 2001
Posts: 4
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,
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15662

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: web server/servlet API installation question from a beginner
Similar Threads
What in the world happened to JWS ??????
How to install JSK and JDBC?? Very confused
Commercial SCWCD preparation tool
Tomcat 4.0 & 3.2