i have had some serious problems setting this up to work properly. i have worked with my instructor and also throughout some books i bought on tomcat and cannot resolve this. i need to set this up to compile my servlets.
PLEASE NOTE THAT THIS IS NOT A HOMEWORK OR CLASS ASSIGNMENT
package javax.servlet does not exist
package javax.servlet.http does not exist
I have currently uninstalled and reinstalled using jsdk1.4.2_03 and tomcat-4.1.27. The CLASSPATH is set to include c:\jakarta-tomcat-4.1.27\common\lib\servlet.jar in addition to this i added the servlet.jar file to the PATH variable as well.
Tomcat is starting and running normally on and i am using the statement:
import javax.servlet.*;
impirt javax.servlet.http.*;
i have also tried compiling an apache example [included with the tomcat package] and it does not work when pasted into a new .java file.
however, the apache class files seem to run when using them in the browser whereas mine do not. but i cannot compile any of them. [i am going to cry]
System: Windows 2000 Professiona; SP3
Tomcat: Jakarta-Tomcat 4.1.27 [unzip]
JDK Files: J2SDK 1.4.2_03 [exe install]
PLEASE NOTE THAT THIS IS NOT A HOMEWORK OR CLASS ASSIGNMENT
package javax.servlet does not exist
package javax.servlet.http does not exist
I have currently uninstalled and reinstalled using jsdk1.4.2_03 and tomcat-4.1.27. The CLASSPATH is set to include c:\jakarta-tomcat-4.1.27\common\lib\servlet.jar in addition to this i added the servlet.jar file to the PATH variable as well.
Tomcat is starting and running normally on and i am using the statement:
import javax.servlet.*;
impirt javax.servlet.http.*;
i have also tried compiling an apache example [included with the tomcat package] and it does not work when pasted into a new .java file.
however, the apache class files seem to run when using them in the browser whereas mine do not. but i cannot compile any of them. [i am going to cry]
System: Windows 2000 Professiona; SP3
Tomcat: Jakarta-Tomcat 4.1.27 [unzip]
JDK Files: J2SDK 1.4.2_03 [exe install]