• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

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

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
tomboman
Asked:
tomboman
  • 2
1 Solution
 
kotanCommented:
Simply place your jar files to {yourwebapps}\WEB-INF\lib\

0
 
kotanCommented:
Or put under {tomcat}\lib\ for every web applications.

Remmember to restart tomcat server after adding jar files.
0
 
tombomanAuthor Commented:
thanks kotan, first answer works, but not the second one I think.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now