i have
tomcat(5.9) installed - working fine(os- windows xp). i dont hav
ant, cvs installed . so i have to go for text editor.trying my first
servlet programm - i was unable to get the .class file for the servlet .
as ref from HFSJ book pg no:31 , i followed the same :
from the dos prompt i tried with - %javac -cp /CATALINA_HOME/common/lib/servlet-api.jar -d classes src/ch1.java
then with javac -cp /CATALINA_HOME/common/lib/servlet-api.jar -d classes src/ch1.java
,,,,,,then with javac -cp /CATALINA_HOME\common\lib\servlet-api.jar -d classes src/ch1.java -
but i always got the error that it cannot find the servlet class etc..(it was treated as ordinany
java programm instead of servlet).
i want to know without using ant & cvs , how an beginner like me can compile servlet & jsp- get .java files & deploy them in tomcat container.after getting well versed only - i can move with those advance stuffs(ant,cvs)
TOMCAT
DOC - DISCUSSES ALONG WITH ANT,CVS .Any doc which could support this beginner for carring deployment independently will be more appreciable . thank u .