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 78309 invoked from network); 12 Jul 2000 18:30:02 -0000 Received: from unknown (HELO mail.tekchile.cl) (root@200.27.134.3) by locus.apache.org with SMTP; 12 Jul 2000 18:30:02 -0000 Received: from TOM (IP33.Linguistech.com [209.114.53.33] (may be forged)) by mail.tekchile.cl (8.9.3/8.8.7) with SMTP id OAA09564 for ; Wed, 12 Jul 2000 14:33:05 -0400 Message-ID: <031701bfec2f$1df421e0$5d00010a@TOM> From: "Eduardo Godoy" To: References: <2047BC7CCA41D41192E6009027C3C0F3020718@HERMOD> Subject: Re: Automatic addition of /mycontext/WEB-INF/classes to classpath? Date: Wed, 12 Jul 2000 13:29:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 It does not work for me ... I had to create a classes directory into $TOMCAT_HOME/ and put my .properties files into it! ------------------------------------------------------ Eduardo Godoy (en prestamo a) (Visite la pagina familiar en http://godoyconcha.freeservers.com incluye fotos del bebe) ----- Original Message ----- From: "Dave Fox" To: Sent: Wednesday, July 12, 2000 1:22 PM Subject: Automatic addition of /mycontext/WEB-INF/classes to classpath? > System: NT4 sp6, Tomcat 3.1, Apache 1.3.12 > > Problem: We have several '.properties' files that I have placed in > /webapps/myapp/WEB-INF/classes but my servlets can't seem to find them. > However, if I manually add this directory to the classpath (before starting > Tomcat) they will then be found. > > So, the following doesn't seem to be working for me. > > According to AppDev (distributed with Tomcat): > > "WEB-INF/classes/ - This directory contains any Java class files (and > associated resources) required for your application, including both servlet > and non-servlet > classes, that are not combined into JAR files." > > "When you install an application into Tomcat (or any other 2.2-compatible > server), the classes in the WEB-INF/classes/ directory, as well as all > classes in JAR files > found in the WEB-INF/lib/ directory, are added to the class path for your > particular web application." > > (Sorry if this has been addressed. I just searched the list archive and > couldn't find the answer.) > > Thanks in advance. > Dave >