Thank Praveen , that was a big help for a silly question.
I am having a little problem setting the classpath
I am using the command :
javac -classpath C:/Program Files/Tomcat5.5/common/lib/servlet-api.jar -d classes src/Ch1Servlet.java And i keep getting the error
javac invalid flag : Files/Tomcat5.5/common/lib/servlet-api.jar
usage : javac <options> <source files> I tried changing it to backslash( as i was a little confused about that)
And I also set it in the enviroment variables but it is still not reading the classpath.