Solved

How to include the necessary .jar libraries with my servlets?

Posted on 2002-06-19
3
233 Views
Last Modified: 2010-05-18
The servlet I'm writting needs to use some .jar libraries. How do I include these .jar files - using tomcat 4.0 as my web server?
0
Comment
Question by:tomboman
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
kotan earned 50 total points
ID: 7092028
Simply place your jar files to {yourwebapps}\WEB-INF\lib\

0
 
LVL 6

Expert Comment

by:kotan
ID: 7092038
Or put under {tomcat}\lib\ for every web applications.

Remmember to restart tomcat server after adding jar files.
0
 

Author Comment

by:tomboman
ID: 7092288
thanks kotan, first answer works, but not the second one I think.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JSP Popup page 2 137
stateless EJB with glassfish 2 73
AlarmClock Challenge 35 155
maven j2ee examles 2 60
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question