public java.util.Locale getLocale()Returns the preferred Locale that the client will accept content in, based on the Accept-Language header. If the client request doesn't provide an Accept-Language header, this method returns the default locale for the server.
Returns:
the preferred Locale for the client例如你可以在IE浏览器中Internet选项-->常规-->语言中设定自己的默认语言为EN,这样服务器端就可以知道拿哪个Local的属性文件了。
Returns:
the preferred Locale for the client例如你可以在IE浏览器中Internet选项-->常规-->语言中设定自己的默认语言为EN,这样服务器端就可以知道拿哪个Local的属性文件了。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货