import javax.servlet.* package not found
hai i am pradeep i am using java 1.5 and tomcat 5.5 version when i just include import javax.servlet.* in simple hellow word program and compile it shows error
import javax.servlet.* package not found
i set my class path to as
E:\set path="D:\Program Files\Java\jdk1.5.0_04\bin" and compile this it pops a message please help me i am using winxp os
by
pradeep sreedharan
[408 byte] By [
OBSFramea] at [2007-11-26 15:02:15]

# 1
you are not setting the classpath but the path, and they should both be written in capitals, PATH and CLASSPATH.
The classpath contains directories and jar files that contain the classes that need to be "visible" to your applications. The servlet classes are part of the file servlet-api.jar, which you can find in your tomcat directory, more specifically the common/lib sub directory.
I would expect your classpath to look something like this:
.;d:\program files\tomcat\common\lib\servlet-api.jar
You may also want to add the directory in which you are storing your projects, I don't know how you are building your applications.
You seem to be very new to this, so I would suggest you give this a read:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html