• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there any servlet developement kit

 
Laxman Jimmer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam new to java servlets programming. Pls help me here.
I have run on sample servlet program given in documentation.
That program has these lines:
[...]
import javax.servlet.*;
import javax.servlet.http.*;
[...]
During compilation I got "package javax.servlet.http does not exist".
Where can I get this package.? Iam using Java sdk 1.4 version on Windows 2000 machine.
Thx in advance, Laxman.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need either the JWSDK (Web Services SDK) or the J2EESDK (J2EE SDK) to get the required APIs.
There used to be a standalone servlet kit but it's been abandoned (or rather integrated into the above packages).
Latest versions can be downloaded from Sun.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For getting started with the smallest and simplest package you can't beat Tomcat - which is included in the others, but may not be the latest version. My recommendation for beginners is always to start with Tomcat until you are comfortable with the servlet and JSP APIs.
A good place to start.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic