1 Reply Latest reply on Oct 26, 2002 12:29 PM by Julian Gosnell

    Problem with internationalizing application using Struts

    Michal Szklanowski Newbie

      Hi, I have problem with i18n features of Struts.
      I am using JBoss 3.0.0.
      I wrote an i18n capable application. I use

      MessageResources messages =
      MessageResources.getMessageResources("Messages");

      code to get properties for particular language.
      In Jboss 2.2.2, I put .properties files in classes subdirectory within a JAR. This is because struts uses
      getResourceAsStream() method of classloader to load properties.

      But this doesn't work in JBoss 3.0.0 and I dunno why.
      I tried to put .properties file in root directory of web-app, within a separate .jar in WEB-INF/lib directory. None of these worked.

      Maybe smb encountered similar problem and solved it?
      Please help me...!!