摘要: 修改方法: 右击该properties文件--properties--Resource--Text file encoding,选中other,选择其它编码方式, (1)选择UTF-8或GBK,这样就能在properties里面输入中文,而不会自动转成Unicode了。 (2)选择US-ASCII时 阅读全文
posted @ 2017-12-05 13:27 半入江风半入云 阅读(4030) 评论(0) 推荐(0) 编辑
摘要: binder.registerCustomEditor 方法的示例: 在学习BaseCommandController时,我们知道,当提交表单时,controller会把表单元素注入到command类里,但是系统注入的只能是基本类型,如int,char,String。但当我们在command类里需要 阅读全文
posted @ 2017-12-05 09:51 半入江风半入云 阅读(413) 评论(0) 推荐(0) 编辑