Hi Toby...

--On Friday, April 20, 2001 2:53 PM +1200 Toby Allsopp 
<[EMAIL PROTECTED]> wrote:

> You can put your properties file in the same place as your classes and
> then access it using getClass().getClassLoader().getResourceAsStream().
> You could pass the resulting InputStrean to Properties.load.

Thats a great trick! Can I do this from a SLSB and if so, would that be 
portable?

Thanks!

Jim

********************************************
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I -
I took the one less traveled by,
And that has made all the difference.

- Robert Frost, 1916


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to