title: Can I create a custom classpath on a per application basis in Tomcat
body: <p>For some applications I use ZK, others Hibernate, other Apache Commons, etc.</p>
  
  <p>I don't want to deploy a 75MB war file, just because it uses lots of libraries.</p>
  
  <p>I don't want to add the libraries to my tomcat lib folder, or nor the classpath to it's configuration as I may have an old application using library x.1 and another application using library x.2</p>
  
  <p>For this reason, it would be great to have something in the web.xml or context.xml where I say something like:</p>
  
  <pre><code>&lt;classpath&gt;/usr/local/tomcat/custom-libs/zk-5.0.4&lt;/classpath&gt;
  </code></pre>
  
  <p><strong>Note:</strong> The above is pseudo-code</p>