aspose file tools
The moose likes Tomcat and the fly likes TomCat 5 jar Files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "TomCat 5 jar Files" Watch "TomCat 5 jar Files" New topic
Author

TomCat 5 jar Files

Pally Gharmount
Ranch Hand

Joined: Aug 25, 2004
Posts: 34
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

Joined: Jan 10, 2002
Posts: 56549
    
  14

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?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17243
    
    1

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: TomCat 5 jar Files
 
Similar Threads
Netbeans 6.7.1 + sharing code across projects
jar file not accessible in war file
TomCat 5 jar Files
Setting up JSTL with Tomcat 5
compilation error in JSP