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> -- 北半球的狗几月份掉毛?