主要是根据不同的语言设置,得到不同的值
建几个文件
  LocalStrings.properties        //helloworld.title = Hello World!
  LocalStrings_en.properties     //helloworld.title = Hello World!
  LocalStrings_es.properties     //helloworld.title = Hola Mundo!
在程式内写
  ResourceBundle rb = ResourceBundle.getBundle("LocalStrings",request.getLocale());
  String title = rb.getString("helloworld.title");