Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • 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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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