Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ResourceBundle - getProperties() is not working sometime  RSS feed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my application, i am using some property files which can be configured by user. I am loading that property using java.util.ResourceBundle.getProperties("PropertyName"). My problem is sometimes I could not retrieve the properites. It is throwing Exception java.util.MissingResourceException. But at the same time it reads other property file located in the same path.

Can Any one clarify me Why it is happening?

Thanks in advance
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!