I am not able to compile servlets as the compiler isnot able to include javax.servlet.* andjavax.servlet.http.* although i have installed jsdk2.0and set classpath as /jsdk2.0/lib/jsdk.jar
you should install J2EE package (j2ee.jar) to use the javax.servlet.*classes...
or if you´re using Tomcat you may include in your classpathtomcat-install/common/lib/servlet-api.jar
You have to add servlet.jar in the classpath.
Try to run this through the Server like websphere,Java Server etc. in the Explorer instead at theprompt.