Link to home
Start Free TrialLog in
Avatar of jaggernat
jaggernat

asked on

compiling servlets using Tomcat 4.1

hi experts,

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

set PATH=%PATH%;C:\J2sdk1.4.2_06\bin;%JAVA_HOME%\bin;%CATALINA_HOME%\bin


will greatly appreciate your help.

Thanks,
J





ASKER CERTIFIED SOLUTION
Avatar of runa_paathak
runa_paathak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaggernat
jaggernat

ASKER

yes it works.


thanks,
J