I've done this before. Struts can reload the message resources without redeploy whole web application. Try this in you action class:
<snip> MessageResourcesFactory factory = MessageResourcesFactory.createFactory(); MessageResources resources = factoryObject.createResources(nameOfMessage); ServletContext ctx = getServlet().getServletContext(); ctx.setAttribute(Globals.MESSAGES_KEY, resources); </snip> nameOfMessage should be the full pakage name of the message resources. Regards, Vincent --- Paul Stanton <[EMAIL PROTECTED]> 的訊息:> anyone written code to reload the contents of their > i18n file (aka > application.properties)? it seems a little stupid to > be reloading web > applications because messages have been changed. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > ----------------------------------------------------------------- 每天都 Yahoo!奇摩 海的顏色、風的氣息、愛你的溫度,盡在信紙底圖 http://tw.promo.yahoo.com/mail_premium/stationery.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]