• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat 4.1.12 & CLASSPATH

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic