Yes, I know this has been asked before, and I know it's not a base capability. However, someone posted this solution several months ago, which seems reasonable to me. Can anyone comment on whether there's any reason not to use this approach?

<http://marc.theaimsgroup.com/?l=struts-user&m=107880611624569&w=2>

<snip>
MessageResourcesFactory factory =
    MessageResourcesFactory.createFactory();
MessageResources resources =
    factoryObject.createResources(nameOfMessage);

ServletContext ctx = getServlet().getServletContext();
ctx.setAttribute(Globals.MESSAGES_KEY, resources);
</snip>

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to