You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Prithivirajan Dhamodharan <pr...@gmail.com> on 2007/02/28 08:03:46 UTC
Need suggestion to load resource properties file dynamically
Help required to load values in properties file(MessageResources) without
restarting/reloading the server.
Kindly give your suggestions.
Re: Need suggestion to load resource properties file dynamically
Posted by Prithivirajan Dhamodharan <pr...@gmail.com>.
Thanks Laurie,
Some code eg., or templates would be really helpful..
On 3/2/07, robin bajaj <ro...@gmail.com> wrote:
>
> 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
>
>
Re: Need suggestion to load resource properties file dynamically
Posted by robin bajaj <ro...@gmail.com>.
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
Re: Need suggestion to load resource properties file dynamically
Posted by Laurie Harper <la...@holoweb.net>.
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