servlets

i want to know how to compile the servlets. i am using tomcat as server.i had already updated the Classpath variable . even then compiler is showing "cannot read symbol ... " error.
[188 byte] By [mikkymcaa] at [2007-10-2 14:27:56]
# 1
i think u got""""""CANNOT RESOLVE SYMBLE ::CLASS HTTPSERVLET""""" like this...it is the problem with class path setting.put in classpath the ""servlets.jar"""" file provided by the tomcat directory.and try it again.
sireesha2035a at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
i had done this already but even then i am facing this problem.
mikkymcaa at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
ok.which IDE u r using?
sireesha2035a at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
tell me what the path u've typed in classpath...exactly what u 've gave in the classpath variable
sireesha2035a at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
i had typed" xyz/common/lib/servlets.jar" where xyz is the server installation directory.
mikkymcaa at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
i m giving my system's configuaration just try..."c:\tomcat5.0\common\lib\servelts.jar;
sireesha2035a at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
i have include " c:\program files\tomcat\common\lib\servlet.jar" and i also include the jdk "tools.jar" & "rt.jar" files but again i m facing the same problem. i also include " jdk\bin " & " jdk\jre\lib " too.
mikkymcaa at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
have you put the . like this in your CLASSPATHCLASSPATH=.;c:\program files\tomcat\common\lib\servlet.jar
Innovaa at 2007-7-13 12:48:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...