Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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: 13024
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:
I agree. Here's the link:
subject: Servlet class file installation
jQuery in Action, 3rd edition