don't know how to compile the servlet program

2000-11-08 Thread simon
Hi   I can run jsp file in Tomcat server 3.1 but not servlet. Could you tell me how to compile a servlet file to get its class file? My autoexec.bat is like this:   {..} SET TOMCAT_HOME=D:\JSPTOOL\TOMCATSET JAVA_HOME=D:\JAVATOOL\JDK1.3SET PATH=D:\JAVATOOL\JDK1.3\BIN;D:\JAVATOOL\JDK1.3\LIB\

don't know how to compile the servlet program

2000-11-09 Thread simon
Hi I have add the another line in the autoexec.bat file SET CLASSPATH=.;%TOMCAT_HOME%\LIB\WEBSERVER.JAR;%TOMCAT_HOME%\LIB\SERVLET.JAR;%CLASSPATH% but the problem remain when I compile the file in dos. The one of the error messages is that "packet javax.servlet.http does not exist." Can someon

RE: don't know how to compile the servlet program

2000-11-08 Thread Kwan, Kenneth Y
Seems you have missed the servlet.jar Kenneth Kwan -Original Message- From: simon [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 10:50 AM To: [EMAIL PROTECTED] Subject: don't know how to compile the servlet program Hi I can run jsp file in Tomcat server 3.1 bu

Re: don't know how to compile the servlet program

2000-11-09 Thread Pierre Neihouser
Try the following command: set This will display a list of environment variables and you should be able to see if the CLASSPATH is set properly or not... By the way, did you set the variable TOMCAT_HOME to something? If so, does it have a space in it? If so, put all references to TOMCAT_HOME (