Looking for a way to reload ApplicationResources on the fly, WITHOUT restarting the webapp.
I've been search for a while now and came up empty handed... Simple, yet so hard. The only thing I found is the following piece of code which I cannot get to work. Field field1 = ResourceBundle .getBundle("ApplicationResources") .getClass() .getSuperclass() .getDeclaredField("cacheList"); field1.setAccessible(true); sun.misc.SoftCache cache1 = (sun.misc.SoftCache) field1.get(null); cache1.clear(); field1.setAccessible(false); log.debug("ApplicationResources has been reloaded."); Any ideas are appreciated. Thanks