Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where to put resource bundles?  RSS feed

 
Garann Means
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having a hard time figuring out where to put a resource bundle, or .properties file. Should I put it with the source for my components, or in the web application that uses it? And then how would I reference it in the faces-config file?

Better yet, here's what my faces-config says right now:


Where would that tell the application to look?

Any insight appreciated...
g.
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can put it in the class path.
You can access it thruogh f:loadBundle tag.

Example
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!