You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Zhang, Larry (L.)" <lz...@ford.com> on 2008/02/05 23:09:32 UTC
Database resources
In struts-fonfig.xml I configured as following to get the messages from
DB instead of MessageResource.properties. I have wrote a method to
getMessage(Locale loc, String key) to get the message from db. This
works for en_US locale, Now my question is how can I pass the locale so
that I get the locale specific messages?
Thanks.
<message-resources factory="com.ford....MyDbResourceBundleFactory"
parameter="" null="false" />
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org