compiling servlets using Tomcat 4.1
Posted on 2004-10-26
I am new to servlets. I am running them using Apache Tomcat 4.1
I have written my first HelloWorld servlet program but unable to compile it. I saved it in the following directory
C:\Program Files\Apache Group\Tomcat 4.1\webapps\ap1\WEB-INF\classes\
when i try to complie using javac HelloWorld.java from the classes directory in the dos prompt, it is giving 6 errors though the program is perfect.
the class path is set as :
set classpath=%classpath%;c:\Program Files\Apache Group\Tomcat 4.1\common\lib;c:\lotus\notes\data
and path set as
will greatly appreciate your help.