Chinaunix首页 | 论坛 | 博客
  • 博客访问: 35382
  • 博文数量: 24
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 190
  • 用 户 组: 普通用户
  • 注册时间: 2013-10-30 21:58
文章分类

全部博文(24)

文章存档

2014年(2)

2013年(22)

我的朋友

分类: Web开发

2013-11-19 16:29:30

在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
解决这个还是很简单的,如下:
  1. 警告: Settings: Could not parse struts.locale setting, substituting default VM locale)   
  2. 原来要解决也不难,  
  3. 创建struts.properties这个文件,放在src目录下就可以了  
  4. struts.locale=en_GB
我们要多看struts2它自身所带的诸多配置
阅读(1063) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~