Actually, we'll be changing that to take the full properties file name instead of just the package so you can specify it however you like.

David



From: george stewart <[EMAIL PROTECTED]>
Reply-To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] Subject: [resources]ResourceBundle.getBundle
Date: 18 Mar 2003 09:07:06 -0500


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.

You could use name of the form name + "_LocalStrings".

Secondly, wouldn't users prefer an exception in this method instead of the silent failure?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to