You have to set the class path like that
set classpath=c:\javawebserver..\lib\jws.jar
now u won't get this error.
Senthil Kumar S
Lake Shore Towers (LST)
E-mail: [EMAIL PROTECTED]
( 3306767 Extn. 7340
----------
From: Tahsin Turkoz
Reply To: A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology.
Sent: Wednesday, August 25, 1999 4:32 AM
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