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
"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
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
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
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
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
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
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,
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
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
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
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
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
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
>
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
- 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???
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
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
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
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
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
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???
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
> 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,
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
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
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
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
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:
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
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
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
> -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
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:
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:
35 matches
Mail list logo