How to handle multiple languages in Java apps?

后端 未结 3 710
青春惊慌失措
青春惊慌失措 2020-12-09 23:00

I am writing a program use JSP and Java. How can I use property files to support multiple languages?

And by the way, there are always some things like \\u4345

3条回答
  •  既然无缘
    2020-12-09 23:42

    The Java tutorial on i18n has been mentioned already by Peter. If you are building JSPs you probably want to look at the JSTL which basically allows you to use the functionality of ResourceBundle through JSP tags.

提交回复
热议问题