在Struts2-core-2.0.9.jar的org.apache.struts2目录下有
default.properties中的配置为以下:
### This can be used to set your default locale and encoding scheme
# struts.locale=en_US
解决这个还是很简单的,如下:
-
警告: Settings: Could not parse struts.locale setting, substituting default VM locale)
-
原来要解决也不难,
-
创建struts.properties这个文件,放在src目录下就可以了
-
struts.locale=en_GB
我们要多看struts2它自身所带的诸多配置
阅读(1063) | 评论(0) | 转发(0) |