Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Need suggestion to load resource properties file dynamically

Laurie Harper

2007-03-01

Replies:

Prithivirajan Dhamodharan wrote:
> Help required to load values in properties file(MessageResources) without
> restarting/reloading the server.
>
> Kindly give your suggestions.

You'll need to implement your own MessageResourcesFactory and configure
it in struts-config.xml. Your custom factory and/or the resource bundles
it creates can use whatever logic you want for (re)loading the property
files.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.