Hello,You can use a relative path but it has to be in '.' separated notation, not separated with '/' characters. You also have to follow the JDK specified naming conventions.a friend just showed me an example where to load a given set of
RessourceBoundles he prefixed the baseName of the boundle with a (relative)
path...Now i ran back to my computer and made some tests and <HATE> it doesn't work
for me...... i am using jdk1.2pre2 on linux....
The JDK function ResourceBundle.getBundle() doesn't know whether it's going to find a ListResourceBundle or a PropertyResourceBundle at runtime, so you have to give it the bundle name in class notation.
E.g.
Suppose you have something like the following in your local directory
(or runtime jar):
com
foo
MsgEditor.java
MsgEditorResources.properties
MsgEditorResources_FR_fr.properties
etc.
If you try
ResourceBundle
bundle = ResourceBundle.getBundle("com.foo.MsgEditorResources", locale);
you'll get an appropriate locale-adjusted bundle.
If you are using properties files, you must adopt the naming convention
spelled out in the JDK for the PropertyResourceBundle to get loaded correctly.
Hope this helps,
-- David Marshall email: [EMAIL PROTECTED] President phone: 1-941-596-2480 VM Systems, Inc. fax: 1-941-596-2483