RE: Message Resources from DB

2005-11-17 Thread Brian Russell
truts Users Mailing List Subject: RE: Message Resources from DB I got one of these solutions out and it talks about setting up the resource like this: 1. I do not want to put jndi information in my struts 2. I do not want to put any SQL or SQL-Like pieces into my struts. So, is there a w

RE: Message Resources from DB

2005-11-17 Thread Mick Knutson
"JNDI | SQL" above? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 3:56 PM To: Struts Users Mailing List Subject: Re: Message Resources from DB No, you are not wrong. Struts will likely be changed to use Commons Resourc

Re: Message Resources from DB

2005-11-16 Thread Shailesh Barde
 Dear Brian, I have some Source code regarding the issue of getting Message resource from DB.Also some excerpts gathered from various forums written in "forumsum.txt". I hope it will help you. Regards, Shailesh Barde [EMAIL PROTECTED] Alphonso Informex Pvt. Ltd., Pune(India) 9890799722

RE: Message Resources from DB

2005-11-16 Thread Brian Russell
e included in 1.3.x! Thanks! Brian Russell www.closerware.com -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 6:56 PM To: Struts Users Mailing List Subject: Re: Message Resources from DB No, you are not wrong. Struts will likely be changed to u

Re: Message Resources from DB

2005-11-16 Thread James Mitchell
n [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 4:00 PM To: Struts Users Mailing List Subject: RE: Message Resources from DB Can you send me the solution to that? I don't have that book, I have an older version without that solution. -Original Message- From: Brian Russell [ma

RE: Message Resources from DB

2005-11-16 Thread Brian Russell
ed in Commons-Resources and hopefully Struts 1.3.. but I may be wrong about that. Brian Russell www.closerware.com -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 4:00 PM To: Struts Users Mailing List Subject: RE: Message Resources fro

RE: Message Resources from DB

2005-11-16 Thread Mick Knutson
Can you send me the solution to that? I don't have that book, I have an older version without that solution. -Original Message- From: Brian Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 12:58 PM To: 'Struts Users Mailing List' Subject: RE: Message Re

RE: Message Resources from DB

2005-11-16 Thread Brian Russell
ginal Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 3:47 PM To: Struts Users Mailing List Subject: Re: Message Resources from DB What database would you like to use? -- James Mitchell 678.910.8017 Skpe: jmitchtx On Nov 16, 2005, at 3:41 PM,

Re: Message Resources from DB

2005-11-16 Thread James Mitchell
What database would you like to use? -- James Mitchell 678.910.8017 Skpe: jmitchtx On Nov 16, 2005, at 3:41 PM, Brian Russell wrote: I know this topic has come up before but.. Does anyone have a suggestion on a method for pulling Message Resources from a DB, as well as making sure a restar

Message Resources from DB

2005-11-16 Thread Brian Russell
I know this topic has come up before but.. Does anyone have a suggestion on a method for pulling Message Resources from a DB, as well as making sure a restart of the app isn't required when the message key/value is updated in the db? Is there a recommended, working, solution out there (i.e. OJB sol

Re: [resources] was: Re: RESEND: RE: Load message resources from DB???

2005-04-07 Thread James Mitchell
t;Fogleson, Allen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, April 07, 2005 12:25 PM Subject: RE: [resources] was: Re: RESEND: RE: Load message resources from DB??? James, I'm with you here. I haven't dug much into commons-configuration, bu

RE: [resources] was: Re: RESEND: RE: Load message resources from DB???

2005-04-07 Thread Fogleson, Allen
E: Load message resources from DB??? I have only had a cursory look at Configuration. From what I know of it, it is a reusable library for getting configuration data into your application (typically during startup). Commons Resources is a reusable library for retrieving properties pairs (locale

[resources] was: Re: RESEND: RE: Load message resources from DB???

2005-04-07 Thread James Mitchell
ED]> To: "'Struts Users Mailing List'" Sent: Thursday, April 07, 2005 9:59 AM Subject: RE: RESEND: RE: Load message resources from DB??? James, How much different is Common Resources from Common Configuration? In essence, a property file is really just a list of configura

RE: RESEND: RE: Load message resources from DB???

2005-04-07 Thread Benedict, Paul C
Mailing List Subject: Re: RESEND: RE: Load message resources from DB??? - Original Message - > From: "Fogleson, Allen" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" ; > <[EMAIL PROTECTED]> > Sent: Wednesday, April 06, 2005 2:40 PM >

RE: RESEND: RE: Load message resources from DB???

2005-04-06 Thread Fogleson, Allen
James, Does your JDBCResources differ greatly from the one that is in Commons-resources already? (I'm trying to remember which version of CR I checked out but I cant heh) i.e. does it take advantage of any container connection pooling etc? The one I see in cr basically does a connection to the db

Re: RESEND: RE: Load message resources from DB???

2005-04-06 Thread James Mitchell
- Original Message - From: "Fogleson, Allen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; <[EMAIL PROTECTED]> Sent: Wednesday, April 06, 2005 2:40 PM Subject: RE: RESEND: RE: Load message resources from DB??? Yes there is the OJBMessageResou

RE: RESEND: RE: Load message resources from DB???

2005-04-06 Thread Fogleson, Allen
Re: RESEND: RE: Load message resources from DB??? Reading from the 'Jakarta Struts Cookbook' by Bill Siggelkow, he discusses this problem. "You want to store all labels,messages, and other static text in a database rather than a properties file, while still being able

Re: RESEND: RE: Load message resources from DB???

2005-04-06 Thread Nic Werner
ven period of time. kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 2:52 AM To: user@struts.apache.org; [EMAIL PROTECTED] Subject

RESEND: RE: Load message resources from DB???

2005-03-31 Thread Günther Wieser
dnesday, March 30, 2005 2:52 AM To: user@struts.apache.org; [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Even if I could just get some general directions on what method to pull the data in, and what method to put the data into what type of container. Just something would be

RE: Load message resources from DB???

2005-03-30 Thread Mick.Knutson
this message. Thank you for your cooperation." -- -Original Message- From: Fogleson, Allen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 8:04 PM To: Struts Users Mailing List; Corey Probst Subject: RE: Load message resources from DB??? Actually you have

RE: Load message resources from DB???

2005-03-29 Thread Fogleson, Allen
Dang, sorry I forgot to change the to field, and couldn't catch it before it went out. But at least it was only about 2K, so shorter than some reply's in here :) Al - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: Load message resources from DB???

2005-03-29 Thread Fogleson, Allen
Mick, I figured you would want a copy so I'm sending without you asking :) Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 6:52 PM To: user@struts.apache.org; [EMAIL PROTECTED] Subject: RE: Load message resources from DB???

RE: Load message resources from DB???

2005-03-29 Thread Fogleson, Allen
it to performance. Mostly wanted to see how hard it would be to grab them from the DB. Al -Original Message- From: Corey Probst [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 9:12 PM To: Struts Users Mailing List Subject: Re: Load message resources from DB??? > Even if I could

Re: Load message resources from DB???

2005-03-29 Thread Corey Probst
> Even if I could just get some general directions on what method to pull the > data in, and what method to put the data into what type of container. > Just something would be good. I think I remember reading a post about this before. Start by looking at the PropertyMessageResources source code,

RE: Load message resources from DB???

2005-03-29 Thread Mick.Knutson
o: 'Struts Users Mailing List' Subject: RE: Load message resources from DB??? I am still waiting for an example of this as well. I would very much like to add this feature, but is not critical and I have other things to work on. If you find an example please let me know. Thank you fo

RE: Load message resources from DB???

2005-03-29 Thread Jason Long
Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 6:38 PM To: user@struts.apache.org Subject: RE: Load message resources from DB??? Does anyone ahve any examples of extending the

RE: Load message resources from DB???

2005-03-29 Thread Jason Long
Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 6:38 PM To: user@struts.apache.org Subject: RE: Load message resources from DB??? Does anyone ahve any examples of extending the

RE: Load message resources from DB???

2005-03-29 Thread Mick.Knutson
message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the PropertyMessageResources and clear it when the user changes

RE: Load message resources from DB???

2005-03-17 Thread Antony Joseph
Check this link out. http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=76369 Also the book 'Struts recipes' covers this topic. - Original Message - From: "Raghuveer Vellanki" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE:

RE: Load message resources from DB???

2005-03-17 Thread Raghuveer Vellanki
7; Subject: RE: Load message resources from DB??? Could someone provide a code sample and struts config snippit? My project is way over deadline and this is not crucial, but would be very nice. I only have 1 locale so this should be easy. If I have to make any serious effort on this it will ha

RE: Load message resources from DB???

2005-03-15 Thread Jason Long
List Cc: [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the

RE: Load message resources from DB???

2005-03-15 Thread Jason Long
List Cc: [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the

RE: Load message resources from DB???

2005-03-15 Thread Daniel Lipofsky
> -Original Message- > From: Jason Long [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 11:21 PM > To: 'Struts Users Mailing List' > Subject: Load message resources from DB??? > > Is it possible to load the message resources from a database > instead of

Load message resources from DB???

2005-03-14 Thread Jason Long
Is it possible to load the message resources from a database instead of a file? If so can this be done without reloading the entire application? I would like to let users manage these. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http:

Load message resources from DB???

2005-03-14 Thread Jason Long
Is it possible to load the message resources from a database instead of a file? If so can this be done without reloading the entire application? I would like to let users manage these. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http: