hi,
u should set the classpath to the jar file
(i.e) classpath=JSDK_HOME/lib/jsdk.jar
bye
dushyanth
--- Chinni <[EMAIL PROTECTED]> wrote: > Hi
Dushyanth, Gokul & others!
>
> I have installed:
>
> RedHat : 6.2
> JDK : 1.2.2 Standard Edition
> TOMCAT : 3.1
>
> When I tried to complie the servlet code I'm getting
> the error:
>
> javax.Servler not found in import
>
> and the same for HttpServlet class
>
>
> I even tried other options by installing :
>
> 1. J2ee 1.2.1 and compiling by adding j2ee.jar in
> classpath
>
> 2. JSDK 2.1 and adding the lib to classpath
>
> 3. JSWDK 1.0.1 and adding the servlet.jar to
> classpath.
>
> In all these ways I'm getting the same error
> message.
>
> Please tell me where I might be doing wrong.
>
> I wrote code but could not compile it and lost two
> days by trying different ways .
>
> Thanx in advance.
>
> Chinni
>
>
> --
> mailmetoday is a free e-mail service from India
> Today Group Online that also rewards you with cool
> gifts. Sign up now at http://www.mailmetoday.com
>
>
___________________________________________________________________________
> 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
=====
H.Dushyanth
Web Programmer
Archean Infotech Limited
http://www.archeanit.com
Where Technology Meets Business
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.in address at http://mail.yahoo.co.in
___________________________________________________________________________
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