I have a resource bundle file called "config.properties" that is created to store application settings. This file is created during runtime and values are provided by the user. I am retrieving one of these properties in my JSP in a fmt:message key (basically user controlled i18n string).
What I really want to be able to do is programmatically reload the this specific bundle when I save the file. I am not using struts.18n.reload or the like as I want this reload to happen ONLY when user saves new settings. I am having no luck with the following code. <code> config = new PropertiesConfiguration(configFile); FileChangedReloadingStrategy strategy = new FileChangedReloadingStrategy(); config.setReloadingStrategy(strategy); config.save(); config.load(); </code> There seemed to be some examples of ReloadableProperties but it seems they work on in Struts 1. How do I force reloading of struts 2 bundles in code? ----- ------------------------------- http://hedgehoglab.com http://fixxbugs.com - bug tracking for agile teams -- View this message in context: http://www.nabble.com/Programmatically-reloading-resource-bundles-Struts-2-tp17166664p17166664.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]