Aruna,
    This is entirely a problem with classpath.
 
    1. Pls check the classpath again ( make sure of the case )
    2. If you are using DOS console to compile(using javac), pls close the console window .Open a new one after setting the classpath in Environment Variables, and try     compiling again.
 
   ( or)
     Set the classpath in the console you are working on (  with  "set CLASSPATH = %CLASSPATH%;<path to servlet.jar>" ) and then compile.
 
   
-Vinay
-----Original Message-----
From: Kumar P Dhanyamraju [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 12:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Compile Servlets

As I mentioned I have included the .jar in the classpath. Look at my message below.
Aruna
----- Original Message -----
From: Chen, Gin
Sent: Monday, April 22, 2002 1:43 PM
Subject: Re: Compile Servlets

Make sure you have servlet.jar in your classpath.
There are so many posts in this mailing list on this subject already.
Please check the archives (link is available on the bottom of every email) before asking questions like this.
-Tim
-----Original Message-----
From: Kumar P Dhanyamraju [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 2:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Compile Servlets

 
Hello Adams,
 
I have been getting errors when trying to compile a servlet in jdk1.3.0_02.
Cannot resolve symbol HTTPServlet, HTTPServletRequest, HTTPServletResponse, HTTPServletException.
In the JDK environment where I compiled the other java programs.
 
Thanks for your question,
Aruna
----- Original Message -----
Sent: Monday, April 22, 2002 1:11 PM
Subject: Re: Compile Servlets

Servlets compile just like any other Java program.  Am I misunderstanding the question?
-----Original Message-----
From: Kumar P Dhanyamraju [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 12:38 PM
To: [EMAIL PROTECTED]
Subject: Compile Servlets

Hello All,
 
I have a small question. How do we compile Servlets or JSP to .class files?
I have Tomcat 4.0 server downloaded and already have jdk1.3.0_02 installed. Do I need to download anything more to compile a servlet.
 
Look forward to hearing from you.
 
Thanks,
Aruna


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information.

If the reader of this message is not the intended recipient,

you are notified that any dissemination, distribution or copy of this

communication is strictly Prohibited.

If you have received this message by error, please notify us

immediately, return the original mail to the sender and delete the

message from your system."


Reply via email to