Eric,
Depending upon what kind of box you are developing on Dave may be right in just telling you to download the entire J2EE api, but if you are like me and developing on an ancient Win 98 box then you could run into problems there.
Here are a couple of suggestions I can give you. If you want to compile servlets you need the proper .jar file in your classpath. If you are going to compile them though, you are probably going to want to test them and so you are going to need a good servlet engine. You can do a search on this forum for discussion on which are best and where to find them. A couple of good ones that I use are
Tomcat and
Resin. Either way you are going to be looking for a file called jsdk23.jar or servlet.jar or something like that. Place that file in your j2sdk1.4/bin directory and then make sure that file is in your classpath. There is a good
tutorial that may be of some help to you.
The author of the tutorial has very good books on servlet/jsp development one of which is available
here for free in pdf format. Hope this helps.
[ July 05, 2002: Message edited by: Eric Peterson ]