aspose file tools*
The moose likes JSF and the fly likes loading properties file from backing bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "loading properties file from backing bean" Watch "loading properties file from backing bean" New topic
Author

loading properties file from backing bean

Pamungkas Timotius
Greenhorn

Joined: May 22, 2005
Posts: 26
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loading properties file from backing bean