ok thank you so much, I've just read on a forum that they use the system classloader to load the properties file.
-----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: vendredi 14 novembre 2003 15:23 To: Tomcat Users List Subject: Re: Problem finding properties file in WEB-INF/classes/someSubFol der Gregory, > Actually to be precise the properties file was delivered un-jared (but not > the class files) in order to tweak the configuration easily, > so it wasn't in a jar and I use it always in that manner > (/com/thirdparty/resources/thirdparty.properties). > Even if I put it in a jar (and in the /lib dir) it doesn't find the > properties. Do you get a MissionResourceException, or just behavior that indicates that the properties file wasn't loaded... If you get an exception, try decompiling the class to find out what's going on. Perhaps they're expecting to have a system property set with a pointer to the file on the disk... -chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
