aspose file tools*
The moose likes Servlets and the fly likes JSWDK (JavaServer Web Development Kit) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSWDK (JavaServer Web Development Kit)" Watch "JSWDK (JavaServer Web Development Kit)" New topic
Author

JSWDK (JavaServer Web Development Kit)

Kathy OConnell
Greenhorn

Joined: Dec 03, 2001
Posts: 29
I have just started looking at servlets in Java. In the book I am following, it advises downloading JSWDK to get all the classes needed. I have done this, but I do not know how to point to this file. I am getting the message package javax.servlet does not exist.
I was thinking I should refer to it in my classpath, but am having problems getting java to recognise things in my classpath.
I would really appreciate some help here
Thanks
Kathy
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Yes, you need to make servlet.jar known to your classpath. You can search this forum for "servlet.jar". It has been discussed several times. You can also just copy servlet.jar to your JDK directory\jre\lib\ext\


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Gabriel Cane
Ranch Hand

Joined: Mar 27, 2001
Posts: 39
Alternatively, you can try downloading the Java 2 Enterprise Edition Development Kit 1.3.
http://java.sun.com/j2ee/sdk_1.3/
It includes not only the servlet development kit, but a bunch of other tools and documentation as well.


Sun Certified Programmer for the Java 2 Platform
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Hi Kathy, welcome to the Ranch.

You mentioned : "In the book I am following, it advises downloading JSWDK to get all the classes needed. "

In honesty, this must be an old book, or a new and not very good one. the JSWDK is quite old, and has been replaced by Sun with the Reference Implementation provided by the Tomcat project.

Unless you need to use the older API, I would recommend both upgrading the book you're using and the servlet runner (switch from JSWDK to Tomcat).
http://jakarta.apache.org/site/binindex.html
On that page, under 'Release Builds' you'll find Tomcat 3.3 and Tomcat 4.0.1. Depending on the version of Servlet/JSP you want, either of these will be what you want.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Originally posted by Mike Curwen:
Unless you need to use the older API, I would recommend both upgrading the book you're using and the servlet runner (switch from JSWDK to Tomcat).

I wouldn't necessarily say upgrade the book. Core Servlets and JavaServer Pages uses JSWDK as one option to learn on and it is a fantastic book. If it is not that book, then upgrade to that book.


Matthew Phillips
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSWDK (JavaServer Web Development Kit)