to do it for the webapp inside Tomcat?
Regards,
maciek
PS. What does HTH stand for?
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 12:28 PM
To: Tomcat Users List
Subject: Re: loading resources from the servlet.
http
I have a class X which needs to load a .properties file.
Here is a code snippet:
ClassLoader cl = this.getClass().getClassLoader();
InputStream stream = cl.getResourceAsStream(/data/x.properties);
It works just fine from my JUnit test for X.
Now, I would like this class to be
http://wiki.apache.org/jakarta-tomcat/HowTo#head-45c3314139cb900ddd43dde2ff671532e6e844bc
HTH,
Jon
Maciej Stoszko wrote:
I have a class X which needs to load a .properties file.
Here is a code snippet:
ClassLoader cl = this.getClass().getClassLoader();
InputStream stream =
List
Subject: Re: loading resources from the servlet.
http://wiki.apache.org/jakarta-tomcat/HowTo#head-45c3314139cb900ddd43dde2ff6
71532e6e844bc
HTH,
Jon
Maciej Stoszko wrote:
I have a class X which needs to load a .properties file.
Here is a code snippet:
ClassLoader cl = this.getClass