This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet class file installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet class file installation" Watch "Servlet class file installation" New topic

Servlet class file installation

Gautam Sathe

Joined: May 24, 2001
Posts: 18
I have downloaded Servlets class file ( and docs ( from (
I already have JDK 1.3 installed in my system. How can I associate the above files with JDK 1.3 so that I can compile and run servlet programs.
Is there any thing else I need to download to run servlet.
Thanks in advance.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12982
Since servlets are a "Standard extension" the compiler will find servlets.jar in the
You will also need a servlet engine - servlets have to run in the context of a web server. Sun's preferred servlet engine is Tomcat. Download from:
Assuming you want to work with the 2.3 servlet API (currently the absolute latest) you will have to download Tomcat 4 - although still in beta it seems to work fine.
Important: Download the servlet 2.3 API specifications from and study how web applications are defined and how to use web.xml to control servlets.

author of:
wood burning stoves
subject: Servlet class file installation
It's not a secret anymore!