Facing problem with getBundle() method using properties file
Hi,
I have a applet which invokes swing application.
For I18N of the application i have used properties file which are stored on the apache web server.
ex: the following properties file are defined on the server are
1) Myresource.properties
2) Myresource_en_US.properties
The problem is whenever my swing code calls getBundle() method using the locale defined as "en,US" I get the following errors in the logs of apache server ::
[error] [client 1.1.1.1] File does not exist: /com/packagename/Myresource.class
[error] [client 1.1.1.1] File does not exist: /com/packagename/Myresource.properties
[error] [client 1.1.1.1] File does not exist: /com/packagename/Myresource_en.class
[error] [client 1.1.1.1] File does not exist: /com/packagename/Myresource_en.properties
[error] [client 1.1.1.1] File does not exist: /com/packagename/Myresource_en_US.class
[error] [client 1.1.1.1] File does not exist: /com/packagename/Myresource_en_US.properties
Note: The I18N works fine except the above errors in the server log.
As far i know the getBundle() method should not look for Myresource.properties file if it finds Myresource_en_US.properties as i have created Myresource_en_us.properties on the server.
Does anyone know why getBundle looks for Myresource.properties even after getting the Myresource_en_us.properties file.
I am using JDK 1.3 so is it problem of the JDK and the version of the apache web server is 1.3
I will be grateful if anyone can find out the problem or solution.
Thanks

