Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TomCat 5 jar Files

 
Pally Gharmount
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does any one know exactly where to place and how to configure JAR files that are to be used by JSP/Servlet web applications.

I have tried these locations and nothing happens. do i need to update any XML files or classpaths.

C:\Tomcat5\common\lib\
C:\Tomcat5\common\classes\

C:\Tomcat5\shared\lib\
C:\Tomcat5\shared\classes\

Web App lives in..
E:\Projects\GSF\Web\WEB-INF\Servelt1.java

I can place in but I want a shared area, not specefic to an application.
E:\Projects\GSF\Web\WEB-INF\lib\

Thanks in advance
Pally
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65111
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should really be moved to the Tomcat forum.

Either $CATALINA_HOME/shared/lib or $CATALINA_HOME/common/lib should work (the difference between the two is subtle and not relevant to your specific question). I put such jars in /shared/lib.

Btw



why are you putting java files in WEB-INF?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like Bear says, this forum is form Servlets questions. Your question is specific to Tomcat, and we happen to have a Tomcat forum here, so I am going to move this thread to that forum.

Thanks

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic