![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2EE
文章平均质量分 83
mqslove17
这个作者很懒,什么都没留下…
展开
-
Notes for "java.util.MissingResourceException Can't find bundle for base name"
You know java is looking for a properties file in a specific locale. You may be baffled why java keeps complaining it can't find a properties file that is right there. A few things to keep in mind w翻译 2012-01-11 09:48:49 · 1773 阅读 · 0 评论 -
Encoding filter for Java web applications
Dealing correctly with encodings is one of the most important things in Java web applications (if not even in Java). The best way to avoid troubles with different encodings is to use only one encoding转载 2012-03-20 09:46:20 · 955 阅读 · 1 评论 -
怎样在架构中合理的设置request中的Lcoale
相信很多朋友在做J2EE国际化的时候,很可能遇到这个问题。因为request中的Locale是非常重要的,它代表着用户浏览器的设置,同时,很多应用都是在这里读取用户Locale然后进行国际化的。但是问题就在于,如果我们的应用中很多地方都适应request.getLocale()来获取Locale,但是我们希望使用自己的Locale,比如说是User信息中包含了一个叫Locale的字段。那么我们原创 2012-04-15 21:37:40 · 6237 阅读 · 1 评论