Sounds like you might not have servlet.jar in your classpath. You might want to try using an IDE like Sun's new Forte 3. The CE version is free.
-Vic Isak Rickyanto wrote: > Hello all...... > I am newbie... > > I want to compile my servlet.... , i have set TOMCAT_HOMe, JAVA_HOME > and my javac not succedded to compile the servlet... > > And I confuse about setting classpath so my javac can found the servlet.... > Please help me step by step about setting classpath in autoexec.bat > > and I want to know how to use javac in order to get the error message step > by step .. because I confuse about looking for the error ... if the javac > found a lot of errors