Please read this. http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property-p2.html
> I have static method where i need to read a .properties file off of the > classpath. The same code that works when running under a tapestry > application in jetty does not work when run as a normal java program in > eclipse. It's a static method and we're getting the resource using: > > ThisClass.class.getClassLoader().getResourceAsStream("/path/to/resource.properties"); > > Any suggestions? > > -- > Dan Adams > Software Engineer > Interactive Factory > 617.235.5857 > > > --------------------------------------------------------------------- > 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]