> But, I am wondering what is the best way to > get message from DB using Struts functionality as much as possible.
You can always use DBMessageResources. Google is your friend! -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] Yahoo IM:[EMAIL PROTECTED] ----- Original Message ----- From: "Masashi Nakane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 07, 2004 5:37 AM Subject: Resource Bundles and Message Table in DB > > > Hi ,all > > I'm using Struts 1.1. and a Database is accessed from > both of web application(tomcat5 ,no AP server) on struts and VB client. > Message DB table is used from both, > which has message id column and message column like "{0} field is required" > > Does anyone use Resource bundles and DB Table for messages on Struts? > What is the best practice for using both of them on struts? > > What I am thinking is > that normally I get message from DB and when DB access error happens, > I use resource bundle to get message strings. > The resource bundle is made from DB when the tomcat is restarted. > > But, I am wondering what is the best way to > get message from DB using Struts functionality as much as possible. > > Any comments are appreciated. > > Masashi Nakane > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]