Need help w. ResourceBundle
From: Mr. Steve R. Burrus (burrus1_at_swbell.net)
Date: 08/28/04
- Next message: Hal Rosser: "Re: jgrasp startup error"
- Previous message: Jay Dean: "Re: PRINTING DIAMOND SHAPE WITH LOOPS!"
- Next in thread: Tony Morris: "Re: Need help w. ResourceBundle"
- Reply: Tony Morris: "Re: Need help w. ResourceBundle"
- Reply: Sudsy: "Re: Need help w. ResourceBundle"
- Reply: Oscar kind: "Re: Need help w. ResourceBundle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Aug 2004 04:58:10 GMT
Hi all, I am working on a simple "HelloWorldExample.java" servlet, and there
are 2 lines of code in it: "ResourceBundle rb =
ResourceBundle.getBundle("LocalStrings",request.getLocale());",
and it compiles okay for me, but when I try to execute it in my browser, I
get all sorts of "MissingResourceExceptions" java exceptions!!
What could possibly be wrong anyway??? The "LocalStrings" mentioned as an
argument to the "getBundle" method are about 3 different languages, English,
French, and Spanish, and the whole servlet is designed to output a simple
greeting in those 3 languages. I of course checked the logs for the tomcat
server which I am using, but it really was of no help at all in trying to
figure out what is wrong. CaN someone please help me? I would greatly
appreciate it.
- Next message: Hal Rosser: "Re: jgrasp startup error"
- Previous message: Jay Dean: "Re: PRINTING DIAMOND SHAPE WITH LOOPS!"
- Next in thread: Tony Morris: "Re: Need help w. ResourceBundle"
- Reply: Tony Morris: "Re: Need help w. ResourceBundle"
- Reply: Sudsy: "Re: Need help w. ResourceBundle"
- Reply: Oscar kind: "Re: Need help w. ResourceBundle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]