I am using TOMCATI hace tried a simple servlet. I have tried it ti compile it in jdk.\bin but itdit not compiled.Please help me that how should I compile the servlet, where should I compile itand then how should I use it in the TOMCAT.
u have to do some presteps to compile n run the servlet in tomcat.first u have to set enviroment variables..JAVA_HOME= refers to ur jdk ( like C:\jdk1.4 ) andfor tomcat 4.0 or higherCATAIINA_HOME=refers to ur tomcat directory ( like C:\tomcat )for tomcat lower then 4.0TOMCAT_HOME=refers to ur tomcat directory ..then u have to set path to servlet.jar which is under the tomcat directorycommon/lib/servlet.jaror u can copy n paste servlet.jar file under ur jdk folder jre\lib\extthen u startup ur tomcat container then open the explorer n enter the addresshttp://localhost:8080/ into the location bar of the explorer..i m sure if u do it fine ur servlet will compile n ready to run..