0 Replies Latest reply on Nov 10, 2003 12:45 PM by Stefan Heckler

    Localisation of ResourceBundle fails

    Stefan Heckler Novice

      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//lib with name /myBundle_de_DE_myVariation exists.

      ResourceBundle rb = null;
      rb = ResourceBundle.getBundle("/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