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?
Who is Participating?
kotanConnect With a Mentor Commented:
Simply place your jar files to {yourwebapps}\WEB-INF\lib\

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

Remmember to restart tomcat server after adding jar files.
tombomanAuthor Commented:
thanks kotan, first answer works, but not the second one I think.
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.

All Courses

From novice to tech pro — start learning today.