This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.1.12 & CLASSPATH

 
Shilpa Bhargava
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
balakrishna
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic