Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JBoss/WildFly
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JBoss/WildFly
not able to locate message.properties using ResourceBundle
maha laxmi
Ranch Hand
Posts: 68
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i am using jboss-4.0.2;my requiremnet is to place message.properties in default/lib directory;
how to set classpath for this?
i am reading this properties file in
ejb
using
ResourceBundle bundle = ResourceBundle.getBundle("message");
i am not able to locate this file??
java.util.MissingResourceException:Can't find bundle for base name message, locale en_US
Paul Sturrock
Bartender
Posts: 10336
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how to set classpath for this?
If its in default/lib, it is on the classpath. You don't have to set anything else. Is there a file called massage_en_US.properties in the lib directory?
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Regarding ListResourceBundle
To: Gregg Bolinger (Where Does This Snippet Go?)
How to declare multiple message bundles in Faces-config.xml
message resource bundle
Tomcat 6 problem with ResourceBundle using JSTL
More...