Re: how to customize applicationresources

2005-12-16 Thread Danny Lee
That's cool! Can you change the values dynamicaly in run-time, so it works without the need to restart the app? Greets, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to customize applicationresources

2005-12-16 Thread Rahul Akolkar
On 12/16/05, Sony Thomas <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to read my application resources from a database rather than > using properties file. Do I need to extends MessageResoursces class in > order to do this ?? Is there any examples of this or is ther any links > which give some i

Re: how to customize applicationresources

2005-12-16 Thread Gareth Evans
Take a look at http://jakarta.apache.org/commons/resources/ There is a JDBCMessageResourceFactory to load values from the database, in your struts-config file you can specify a different message resource factory class. http://wiki.apache.org/jakarta-commons/ResourcesUserGuide It works well f

Re: how to customize applicationresources

2005-12-16 Thread Danny Lee
The only easy solution I can think of is to write some application, which is performing DB->File transformation before MessageResoursces consumer-application starts. But this is not a real solution, becouse you still can't change properties dynamicaly. I'm not sure if Struts allows you to do i

RE: how to customize applicationresources

2005-12-16 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
I am also looking like this, If any one know please let me know. -Original Message- From: Sony Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 3:55 PM To: user@struts.apache.org Subject: how to customize applicationresources Hi all, I want to read my application

how to customize applicationresources

2005-12-16 Thread Sony Thomas
Hi all, I want to read my application resources from a database rather than using properties file. Do I need to extends MessageResoursces class in order to do this ?? Is there any examples of this or is ther any links which give some idea, how to do this?? thanks all Sony -