jQuery in Action, 3rd edition
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 (servlet-2_3-pfd2-class.zip) and docs (servlet-2_3-pfd2-docs.zip) from (http://java.sun.com/).
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: 13035
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: http://jakarta.apache.org/
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 java.sun.com and study how web applications are defined and how to use web.xml to control servlets.

author of:
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlet class file installation
jQuery in Action, 3rd edition