How to Add Libraries to a Web Application / WAR
To include a library to your web application, just add the JAR file(s) into the "/WEB-INF/lib/" directory of your web application. They must have a "*.jar" extension, sub-directories are not supported.
Many web containers also have a way of adding shared libraries that can be used for all applications. For example, to add a shared library to Tomcat just copy the JARs into its /lib directory.

