hello,

you must set the classpath in your OS, not only in your jserv.properties
for example :

export CLASSPATH=/usr/JSDK2.0/lib/jsdk.jar:.

good luck !

-----Original Message-----
From: Heiko Hotz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 10:27 AM
To: [EMAIL PROTECTED]
Subject: compile servlets


Hi everybody.

I succesfully installed JServ and JSDK2.0.
I set the classpath to JSDK2.0/lib/jsdk.jar.

But when I try to compile a servlet I receive
this messsage:

-----

EchoRequestServlet.java:3: Package javax.servlet not found in import.
import javax.servlet.*;
       ^
EchoRequestServlet.java:4: Package javax.servlet.http not found in
import.
import javax.servlet.http.*;
       ^
EchoRequestServlet.java:6: Superclass HttpServlet of class
EchoRequestServlet not found.
public class EchoRequestServlet extends HttpServlet
                                        ^
3 errors

-----

So, what went wrong?

Thanks
Heiko

--
**************************
*http://www.heiko-hotz.de*
*------------------------*
*mailto:[EMAIL PROTECTED]   *
**************************

--
Sent through GMX FreeMail - http://www.gmx.net

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to