I am facing some problems in compiling servlets . I dont know why but have jdk1.5 & tomcat 5.5 installed in my xp . I was trying to run the source code through jcreatorLE but it cant find javax.servlet & javax.servlet.http like packages . please give a cleaner picture about how to configure Tomcat & JDK1.5 to compile servlets .
Your Tomcat installation will have the jar files that you need to include. Look in $TOMCAT_HOME/common/lib for jar files servlet-api.jar and jsp-api.jar. Be sure that these jar files are added to the classpath for compilation.