>Subject: compilation of servlets and javax
>
>1.I am working onjdk1.2.2 and jsdk2.1(servlet api) and I want to test
>my servlet in jsdk2.1 servlet container.
>
>2.
> Problem:
> Whenever I compile any servlet code,I am getting the following
> error messages.
> ERROR1:package javax.servlet not found in import.
> ERROR2:package javax.servlet.http not found in import
> ERROR3:superclass HttpServlet of class xxx not found
> where xxx is the name of any servlet class I am
> trying to implement.
>
>7.How best can I rectify the problem
Did you set your CLASSPATH?
Here how I set mine.
Windows:
SET CLASSPATH=.;D:\JDK1.2.2\LIB\TOOLS.JAR;D:\JSWDK-1.0.1\LIB\SERVLET.JAR
Linux:
export CLASSPATH=/usr/local/JSDK2.0/
___________________________________________________________________________
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