can we specfity directory path with the property file while using ResourceBundle class in java
<p>I want to place my properties files in some folder, but i am not able to read them because we can specify only the bundle name in static getBundle method on ResourceBundle object.</p>

<p>Suppose bundle is : myFile.properties</p>

<p>current path is : src</p>

<p>i want to keep my properties file in : src/temp</p>

<p>so
when i am using : </p>

<p>ResourceBundle.getBundle("temp/myfile", currentLocale);</p>

<p>it is throwing an exception "can't find bundle".</p>

<p>I want some way to specify the path.</p>

<p>Please suggest me some way to do this.
Thankyou</p>
