Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 18380 invoked from network); 4 Dec 2002 22:13:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Dec 2002 22:13:58 -0000 Received: (qmail 8854 invoked by uid 97); 4 Dec 2002 22:14:47 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 8780 invoked by uid 97); 4 Dec 2002 22:14:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 8742 invoked by uid 98); 4 Dec 2002 22:14:43 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Sensitivity: Subject: Loading Properties Files To: tomcat-user@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.9a January 7, 2002 Message-ID: From: echambe1@TXU.COM Date: Wed, 4 Dec 2002 15:35:40 -0600 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on EPTXUDSB113/Server/TXU(Release 5.0.9a |January 7, 2002) at 12/04/2002 04:13:31 PM, Itemize by SMTP Server on EPTXUDSB101/Server/TXU(Release 5.0.9a |January 7, 2002) at 12/04/2002 04:13:31 PM, Serialize by Router on EPTXUDSB101/Server/TXU(Release 5.0.9a |January 7, 2002) at 12/04/2002 04:13:32 PM, Serialize complete at 12/04/2002 04:13:32 PM Content-type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello All: I have a handful of classes, some static, that contain commonly used functionality that my web applications are using. Now, I am adding in a new static method which will require the Class to load a properties file within the Static Initializer. My problem is that the class cannot location my properties file. I am unable to use other suggested methods that I have noticed on this list since those problems involved Properties File within Servlets. After some testing, I determined for some reason the default directory it is looking for my properties file is the Windows System Directory (Determined this by opening a file in the default directory, outputing something in it and searching for the file). Anyone have any ideas on how to solve this problem? I do not want to hard code the exact location due to obvious reasons Thanks, Ej Chambers ********************************************************************************** Confidentiality Notice: This email message, including any attachments, contains or may contain confidential information intended only for the addressee. If you are not an intended recipient of this message, be advised that any reading, dissemination, forwarding, printing, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply message and delete this email message and any attachments from your system. ********************************************************************************** -- To unsubscribe, e-mail: For additional commands, e-mail: