Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 52195 invoked from network); 2 Oct 2000 18:44:40 -0000 Received: from unknown (HELO imail1.vignette.com) (207.8.7.254) by locus.apache.org with SMTP; 2 Oct 2000 18:44:40 -0000 Received: from vscan.vignette.com (vscan.vignette.com [10.16.1.7]) by imail1.vignette.com (8.10.2/8.10.2) with SMTP id e92IiCI16354 for ; Mon, 2 Oct 2000 13:44:13 -0500 (CDT) Received: FROM imc.vignette.com BY vscan.vignette.com ; Mon Oct 02 13:44:12 2000 -0500 Received: by IMC with Internet Mail Service (5.5.2650.21) id ; Mon, 2 Oct 2000 13:44:12 -0500 Message-ID: <01E097830366D41189E3009027E299B2025A04B4@hqexchange.vignette.com> From: "Woods, Jason" To: "'Josh Knowles'" , "'tomcat-user@jakarta.apache.org'" Subject: RE: adding jar to context's classpath (but not to ALL contexts... ) Date: Mon, 2 Oct 2000 13:44:07 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Actually, I forgot to mention I didn't want to put the jar file into the WEB-INF/lib directory. There are various reasons I don't want to do this, and one of them is that the jar file may be used by multiple contexts (but not all contexts) - so I don't want multiple copies of the jar file floating around everywhere. - Jason -----Original Message----- From: Josh Knowles [mailto:josh.knowles@worldwidepackets.com] Sent: Monday, October 02, 2000 1:30 PM To: 'tomcat-user@jakarta.apache.org'; 'jason.woods@vignette.com' Subject: RE: adding jar to context's classpath (but not to ALL contexts... ) I am not sure if this answers your question but you can put jar files inside of the WEB-INF/lib directory for each context and they will show up in the classpath. hope this helps, Josh Knowles -----Original Message----- From: Woods, Jason [mailto:jason.woods@vignette.com] Sent: Monday, October 02, 2000 11:05 AM To: 'tomcat-user@jakarta.apache.org' Subject: adding jar to context's classpath (but not to ALL contexts...) Is there a way in Tomcat to add a jar file to a context's classpath (available to all servlets/etc. within that context) on a per-context basis (as opposed to editing the tomcat.properties file and adding a wrapper.classpath prop - which makes it available to all contexts)? This seems like a pretty simple thing to do which other servlet containers allow you to do - but I can't find any place to do it based on info in the server.dtd or web.dtd. Interested in answers for both 3.1 & 3.2. Thanks, - Jason