check you jdk path
and also set you classpath to all the jar files under the tomcat\bin


-----Original Message-----
From: Zakaria . [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 4:33 PM
To: [EMAIL PROTECTED]
Subject: I CANT COMPILE SERVLETS!!!HELP


Hello,
I have tomcat running fine but i couldnt compile any servlet. I put the 
servlet in different directories and tried (does it matter?) but same 
result:
cannot resolve symbol:HttpServlet

i use this command line from the same directory as the servlet:
javac -classpath c:\tomcat\lib\servlet.jar Hello.java

i also downloaded the servlet.jar from the sun site and include it in the 
classpath and in the command line with the same result...
how can i compile using the servlet.jar???

thanks.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to