struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Larry \(L.\)" <lzhan...@ford.com>
Subject Database resources
Date Tue, 05 Feb 2008 22:09:32 GMT
 
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


Mime
View raw message