struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Re: Loading message resources properties from a database
Date Thu, 04 Sep 2008 19:13:45 GMT
laredotornado wrote:
> Hi,
> I'm using Struts 1.  We want to load our message resources properties,
> currently defined in our struts-config.xml file:
> <message-resources parameter="MessageResources" />
> from a database.  Now of course, they are in a file called
> "".  What is the proper way to do this?

You need to add a factory= attribute and point it to a custom 
implementation of MessageResourcesFactory [1] that can load resource 
bundles from your database. You can probably find example 
implementations in the list archives if you need some further pointers.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message