只需显式设置语言环境即可。
<!-- Page's own locale (you should already have that part). --><fmt:setLocale value="${user.locale}" /><fmt:setBundle ... />... text ...<!-- Temporarily set to English, format number and then set back to page locale. --><fmt:setLocale value="en_US" /><fmt:formatNumber ... /><fmt:setLocale value="${user.locale}" />
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)