struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robin bajaj <robinba...@gmail.com>
Subject Re: Need suggestion to load resource properties file dynamically
Date Fri, 02 Mar 2007 03:44:14 GMT
Hi there,
I am looking for similar results (*dynamically load properties file 
without restarting the server))

 >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.

can you please provide some code templates or some pointers about how to 
  implement what you suggested ?

thanks,
robin


Laurie Harper wrote:
> 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@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message