本文基于Spring MVC 注解-让Spring跑起来。本文提到的国际化是Spring实现国际化的方案之一。 (1) 在applicationContext.xml中添加以下配置信息:[java]view plaincopy 上述代码中提到的messages.messages中,前一个...
分类:
编程语言 时间:
2014-11-19 17:51:33
阅读次数:
138
Spring对国际化的支持是beanFactory的子接口ApplicationContext所增加的新功能,主要是因为ApplicationContext接口继承了MessageSource接口,MessageSource接口的getMessage(String code,Object[] obj,Locale locale)方法用于对国际化的支持。
在Spring对国际化的支持中...
分类:
编程语言 时间:
2014-11-03 22:42:07
阅读次数:
214