george stewart <[EMAIL PROTECTED]> writes: > > Date: 18 Mar 2003 09:07:06 -0500 > > From: george stewart <[EMAIL PROTECTED]> > > Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: [resources]ResourceBundle.getBundle > > > > In the messages class, there's static method: > > public static Messages getMessages(String name) > > > > which does this: > > Resources resources = factory.getResources(name + ".LocalStrings"); > > > > This doesn't work for ResourceBundle.getBundle on W2K with JDK 1.3.1_04. > > The intent is that "name" be the fully qualified package name of the class > that you are in (so that you can localize all the error messages for that > package in a single file). Struts uses a technique very similar to this > with no problems on Windows, so it would surprise me that this didn't work > (although I don't have a 1.3 JDK on my windows PC to check it right at the > moment).
Don't trouble to try. It works if "name" is the package name. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
