put the the servlet.jar in your classpath or in your editor classpath variable,
you can find servlet.jar in your %tomcat_home%\lib
 
regards,
wayan
-----Original Message-----
From: Leon Vermaak [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 12:54 PM
To: [EMAIL PROTECTED]
Subject:

I am new to Servlets.
I am trying to compile my fisrt Servlet. I am working on Win Me. I have:
jdk1.3.1_02
j2sdkee1.3.1
Apache Tomcat 4.0
installed.
Tomcat is working fine, but when I try to compile a simple servlet it does not compile. I get the following error message:
HelloWorld.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWold.java:3: package javax.servlet.http does not exist
import javax.servlet.*;
^
So how do I tell the compiler how to find these packages?
 
Any help will be appreciated.
 

Reply via email to