|
when I perform a search on my machine for any file
named javax* there is none.
So I am not sure if I should import javax or import
servlet.
I am not certain how you set
classpath?
If you can help I would appreciate it.
Thanks.
----- Original Message -----
Sent: Monday, February 25, 2002 12:14
AM
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
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.
|