Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Reading resource file in JServer
I am trying to read a resource file (myfont.properties) in JServer
without any success. The resource file and the class that is reading
it are in the same jar file, and the jar file is loadjaved into
the database. In the class, I am doing the following to read
the resource file:
getClass().getResourceAsStream("myfont.properties");
but this call always returns null.
Any idea what I did wrong?
Thanks for any help.
Gao Peng
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Oct 18 1999 - 10:27:30 CDT