Hi ,
using Jboss 3.2.1 and JDK 1.4.2_02.
The Localisation of resourceBundles fails within the container
(EntityBean or SessionBean).
Example: a class within the Jboss/server/<config>/lib with name
<package>/myBundle_de_DE_myVariation exists.
ResourceBundle rb = null;
rb = ResourceBundle.getBundle("<package>/myBundle", new Locale("de",
"DE", "myVariation"));
rb.getLocale().getLanguage();
this deliveres an empty String within the container and "de" out of
the container.
Help!! Is this an error or is this not possible within the container?
Thanks
Stefan
Marek Lange - 11 Nov 2003 19:35 GMT
Stefan Heckler schrieb:
> Hi ,
> using Jboss 3.2.1 and JDK 1.4.2_02.
[quoted text clipped - 14 lines]
>
> Help!! Is this an error or is this not possible within the container?
Please have a look here:
http://www.jboss.org/thread.jsp?forum=50&thread=1340&message=3806348&q=ResourceB
undle.getBundle#3806348
-marek