javax.servlet.http.*;
Hi everyone,
I am importing this library:
import javax.servlet.http.*;
in a .java, but it does not compile and sends the error:
package javax.servlet.http does not exist
import javax.servlet.http.*;
I have installed the j2sdk1.4.2_11,
what can I do, so the .java compiles correctly?
thanks...
[380 byte] By [
deroka] at [2007-11-27 7:54:57]

> Try to add servlet.jar to your classpath. You can
> normally find this file in the lib directory of the
> Tomcat or other Java compatible server.
wrong. servlet.jar is the specific name of a specific file from a specific servlet container.
Other containers have other files with other names in other locations.