I might be wrong, but I believe the JDK does not include the HttpServlet class. I think you'll need the Web Services Developer Pack (http://java.sun.com/webservices/webservicespack.html) to get this class.
-----Original Message-----
From: Kumar P Dhanyamraju [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 1: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

Reply via email to