encode as UTF-16
Good Luck,

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "wang huan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, May 30, 2007 9:16 PM
Subject: Re: Multi lingual web site


We usually have several resource files, and output fields with  tag
<bean:message key="key_in_resource_file" />. Instead of storing values, we
store those keys in DB.

for instance:
<html:select property="attributeStyle">
             <html:option value="pagecontent.date"><bean:message key="
pagecontent.date"/></html:option>
             <html:option value="pagecontent.string"><bean:message key="
pagecontent.string"/></html:option>
             <html:option value="pagecontent.integer"><bean:message key="
pagecontent.integer"/></html:option>
            </html:select>


--
北半球的狗几月份掉毛?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to