Thanks Moloy  .What you have written is right.I tried this yesterday.
Add absolute paths of server.jar and servlet.jar in autoexec.bat and
reboot the system.It works ok.

Infact adding the jar files is not mentioned in the jsdk2.1 document.
--
RAVIKUMAR CHENGALVALA
[EMAIL PROTECTED] - email
(858) 860-6400 x7011 - voicemail/fax



---- Moloy Biswas <[EMAIL PROTECTED]> wrote:
> Hi...
>
> I am facing the same problem, I have WIN NT but when I am trying to
> compile it,
> its giving me the same problem
>
> Moloy
>
> Molly Quinn wrote:
>
> > i think you should just add \"jdkroot directory name"\"jsdk2.1 directory
> > name"\servlet.jar into your classpath you should be able to compile
> your
> > servlet
> >
> > -----Original Message-----
> > From: RAVIKUMAR CHENGALVALA [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 18, 2000 3:51 AM
> > To: [EMAIL PROTECTED]
> > 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.
> >
> > 3.
> >   I have gone through the documentation available to me
> >   and could identify the following.Pl let me know whether
> >   I am correct or not.
> >   a)javax is a standard installed extension but not a premium extension.
> >   b)javax is not a download extension.
> >   c)javax comes as a part of jsdk2.xx(servlet API)  ?
> >   d)There is no need to put the jar files into the classpath.
> >   e)The vm automatically searches for the installed standard extensions.
> >
> > 4.
> >   I could locate the javax related folders in the jsdk2.1\src\javax
> > directory.
> >
> > 5.
> >   I did not find javax related stuff in jdk1.2.2 loaded on my PC.
> > 6.
> >   What I doubt is that the javax.xxx are not properly loaded onto
> my
> > PC.But,I am
> >   not so sure of it.How to test this aspect.
> >
> > 7.How best can I rectify the problem
> > RAVIKUMAR CHENGALVALA
> > [EMAIL PROTECTED] - email
> > (858) 860-6400 x7011 - voicemail/fax
> >
> > __________________________________________________
> > FREE voicemail, email, and fax...all in one place.
> > Sign Up Now! http://www.onebox.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
> >
> > ___________________________________________________________________________
> > 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
>
>
> --------------------------------------------------------------
> SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA
>
> ___________________________________________________________________________
> 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
>

__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.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

Reply via email to