You should locate the directory from which you uncompressed and unzipped the
jsdk1.2. Because it will have a subdirectory src/ in it. You have to specify
the path to this src/ like ../../classes/src/ in your classpath and this
should solve it, because we had this problem too.
_ Vallikun
-----Original Message-----
From: Tahsin Turkoz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 24, 1999 7:03 PM
To: [EMAIL PROTECTED]
Subject: servlet&javac
Hi everybody;
I have a problem with JSDK2.1 and I hope someone to help me in that case.
I am trying to write a servlet application that extends HttpServlet class.
When I compile it with javac it gives some error like:
SessionExample.java:8: Package javax.servlet not found in import.
import javax.servlet.*;
^
SessionExample.java:9: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
SessionExample.java:19: Superclass HttpServlet of class SessionExample not
found
.
public class SessionExample extends HttpServlet {
^
3 errors
how can I correct this error.( By the way I made a classpath to the
tools.jar in JDK1.2 ) Thanks for your consideration.
Tahsin Turkoz
Department of Computer Engeneering
and Information Science
___________________________________________________________________________
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