hi , Is this right ..Tomcat 4.1.12 does not read the classpath variable ??? If I place my servlet.jar and classes12.jar in tomcat/common/lib i do not need to explicitly put them in my classpath ... Please correct me if I am wrong Thanks, Shilpa
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Originally posted by Shilpa Bhargava: hi , Is this right ..Tomcat 4.1.12 does not read the classpath variable ??? If I place my servlet.jar and classes12.jar in tomcat/common/lib i do not need to explicitly put them in my classpath ... Please correct me if I am wrong Thanks, Shilpa
You don't need to explicitly place the servlet.jar in tomcat 4.1.12,its already got placed at correct directory. Just set the JAVA_HOME to jdk1.3 or jdk1.4 directroy location and start the tomcat using startup script under bin directory of tomcat. you will need servlet.jar in ur classpath only while compiling new servlet program.
Originally posted by Shilpa Bhargava: hi , Is this right ..Tomcat 4.1.12 does not read the classpath variable ??? If I place my servlet.jar and classes12.jar in tomcat/common/lib i do not need to explicitly put them in my classpath ... Please correct me if I am wrong Thanks, Shilpa
Hi There is no need to keep servlet.jar ( if it is tomcat's). If your class files are jarred into jar called servlet.jar please change the name Then this jar+ any additional jars required for the app( like classes.jar) into %Webroot%/WEB-INF/lib directory. You can mail me back or keep a message in case of trouble Balakrishna Please try