Hello all,
I have the Tomcat 4.0.3 installed, and I am trying to load a .properties
file necessary to my application(which has its classes and packages in the
WEB-INF/classes) but I haven't got any success in doing this.
I'v already tried to put the file in the WEB-INF/classes directory of my
On Thu, 20 Jun 2002, Kiev Gama wrote:
Hello all,
I have the Tomcat 4.0.3 installed, and I am trying to load a .properties
file necessary to my application(which has its classes and packages in the
WEB-INF/classes) but I haven't got any success in doing this.
I'v already tried to put the
List [EMAIL PROTECTED]
Subject: Re: Trouble loading properties file
Date: Thu, 20 Jun 2002 16:46:24 -0500 (CDT)
On Thu, 20 Jun 2002, Kiev Gama wrote:
Hello all,
I have the Tomcat 4.0.3 installed, and I am trying to load a .properties
file necessary to my application(which has its classes
PROTECTED]
Subject: Re: Trouble loading properties file
Milt,
I was using the following:
Properties p = new Properties();
p.load(new FileInputStream(filename));
but I'll try the getServletContext().getResource(filename)
Thanks a lot!
Kiev Gama
From: Milt Epstein [EMAIL PROTECTED]
Reply
have
recived have had a virus attached to them.
Thank you!
- Original Message -
From: Kiev Gama [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 4:27 PM
Subject: Trouble loading properties file
Hello all,
I have the Tomcat 4.0.3 installed, and I am trying to load
getResourceAsStream instead, to feed to p.load().
From: Milt Epstein [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Trouble loading properties file
Date: Thu, 20 Jun 2002 16:46:24 -0500 (CDT)
On Thu, 20 Jun 2002, Kiev Gama