File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Soft Skills this week in the Jobs Discussion 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: 12835
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