RE: is there any way to load Message Resources from back-end database instead of properties files?

2003-08-14 Thread James Mitchell
Yes. For Struts 1.1, I wrote an extension that gets data from a relational database. The files and demo app can be found here: http://sourceforge.net/projects/struts -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx

RE: is there any way to load Message Resources from back-end database instead of properties files?

2003-08-14 Thread James Mitchell
we have own tables that holds locations, resources and messages, I have a persistent class that gets all data from database. I need is a class that extends the class that reads messages from properties files, override the method that reads from disk file, You need 2 classes minimum. public

RE: is there any way to load Message Resources from back-end database instead of properties files?

2003-08-14 Thread James Mitchell
Looks good to me. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:18 AM To:

RE: is there any way to load Message Resources from back-end database instead of properties files?

2003-08-14 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
Hi James, finally it worked , but I haven't tested completely , but it seems it will be okey :)) inside my factory class firstly I used MessageResourcesFactory.createFactory().createResources(config) code fragment to create file based MessageResource object of Struts , but it didn't worked

RE: is there any way to load Message Resources from back-end database instead of properties files?

2003-08-14 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
hi James , I am still working on it , but I have a simple question , beside database based MessageResources, I still want to use present file based MessageResources feature of struts(in the case of any problem with my message code), I am using config parameter to specify which kind of Message