Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Reading resource file in JServer

Reading resource file in JServer

From: <gaop_at_my-deja.com>
Date: Mon, 18 Oct 1999 15:27:30 GMT
Message-ID: <7ufe8m$lcf$1@nnrp1.deja.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US