iam getting the compilation error:: 1.javax.servlet not found
while compiling under c:\project\src\javac Ch1Servlet.java
i set classpath ,path,java_home as follows class path: C:\bea\jdk142_08\lib;C:\Program Files\Apache Software Foundation\Tomcat 5.0\server\lib;C:\Sun\AppServer\lib;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib;
the common/lib contains only jars, so it does not help to include that in the classpath. What you need is servlet.jar or servlet-api.jar (version dependent) inside the common/lib.