You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Koby Dabush <Kd...@entopia.com> on 2003/03/05 14:01:09 UTC

question

I'm new to struts.
How can I put my Messages in DB and use Message-Resource
to bring it from DB every time I need it in the Application?
 
Thanks,
Yaakov (Koby) Dabush
	 
 
 
1301 Shoreway Road, Suite 302, Belmont, CA 94002
Tel: +1.650.632.0101 Fax: +1.650.802.6709

Arie et Ofer Building, Omarim 9, 84965 Omer, ISRAEL
Tel: +972.8.646.6350, Fax: +972.8.646.6354

http://www.entopia.com  <http://www.entopia.com> 

Re: question

Posted by Gemes Tibor <ti...@i-trade.hu>.
Koby Dabush wrote:

> I'm new to struts.
> How can I put my Messages in DB and use Message-Resource
> to bring it from DB every time I need it in the Application?

Create a new class which extends ResourceBundle and takes the data
from DB. Read the java.util.ResourceBundle docs.

Hth,

Tib

Ps: Pls choose more descriptive subject, thx.




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org