M
Mr. Steve R. Burrus
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.
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.