Ic.... so we cannot just load it from the directory where jsp are and use this code ?
===================================== InitialContext jndiContext = new InitialContext(); ===================================== On 5/3/06, abdurrahman sahin <[EMAIL PROTECTED]> wrote:
i think , it is actully related to where you are looking for. i think you can put it anyware as long as the diretory you put it is accessible. http://asahin.net private static final String CONFIG_FILE="resources/jndi.properties"; FileInputStream fis = new FileInputStream(CONFIG_FILE); myProperties.load(fis);
-- Regards, Feris PT. Putera Handal Indotama JL. KH. Moh. Mansyur No. 11 Blok B.8-12 Telp. +62-21-631 6688 (Hunting) Fax. +62-21-6330211 Jakarta (10140) - INDONESIA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]