This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

loading properties file from backing bean

 
Pamungkas Timotius
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

How can we load properties file under /WEB-INF/classes/locales/accountProperties_en.properties into backing bean?

this code:


where


always throws exception.
When I debug my code, I found that accountPropertiesFile.exists() always returns false even if it's in WEB-INF/classes/locales directory.

What happened?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic