| Author |
Unable to read properties file using resouce bundle
|
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
|
|
Hi,
I am tryig to read properties file using resource bundle which is not in class path. but i am getting below error
and below is my code to read properties file.
Can anybody help out solving this issue.
Thanks a lot.
|
Jigar Naik
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
You have the choice of either :
Using PropertyResourceBundle (check the constructors)Or put the properties file in the classpath and use getBundle("JMSConfig")
|
[My Blog]
All roads lead to JavaRanch
|
 |
 |
|
|
subject: Unable to read properties file using resouce bundle
|
|
|