[import javax.servlet.*;] Compilation error
843842Sep 15 2009 — edited Sep 15 2009Hi,
The java compiler cannot find javax.servlet.*; in Windows XP.
I tried copying servlet-api.jar under c:\sun\SDK\lib and c:\Sun\sdk\jdk\lib.
Also I set the CLASSPATH to:
.;C:\Sun\SDK\jdk\lib;C:\Sun\SDK\lib;
But I still get the error at compilation time.
Also I don't know how to create a project that would use the correct library and compile just that servlet code.
Many thanks for your help.