Hi I'm having problem compiling one of my servlet. Here is the error i get C:\jdk1.2.2\java\HelloWorldServlet.java:6: Superclass HttpServlet of class HelloWorldServlet not found. public class HelloWorldServlet extends HttpServlet The classpath set in Autoexec.bat is SET CLASSPATH= .;C:\JSDK2.0\lib\jsdk.jar The classpath set in environment is CLASSPATH= .;C:\JSDK2.0\lib\jsdk.jar I'm running on Windows NT.
The directory where this servlet is stored is c:\jdk1.2.2\java
Can anyone help me on what is wrong. My work is stuck up bcos of this [This message has been edited by DSV (edited March 11, 2000).]
Usually, the servlet server will only look for servlets in a particular directory. For some servlet servers you need to specify the servlets that can be served. Which servlet server are you using?