I am trying to determine the amount of time it takes for an update to a resource bundle to be recognized by an application, if it even does. In other words do I have to redeploy the application or will the file changes be reloaded at a specific interval? This is specifically for the use with the 'i18n ' features of JSTL. Thx Harold
If you have made changes to the deployment descriptor, which I think you would have and added new tld files etc then you will need to restart the container for the new resources to get loaded. Depending on what you are using, you may be able to reload the webapp itself and not restart the whole container. HTH
The secret to creativity is knowing how to hide your sources.
Joined: Jun 12, 2002
No changes to the deployment descriptor. Just updated one of the key=value pairs in a resource bundle used for i18n. Then uploaded the updated bundle to the server (in my case it is located in the /WEB-INF/classes/... direcotry structure).
My guess is that you need to restart your webserver each time. At least that's my experience. The reason, i think, is that when the resourcebundle is loaded, JVM "transforms" it into a java class, and hence it is not reloaded unless the classloader is reloaded => restart...