2014年8月3日

Spring3 MVC 类型转换

摘要: 1. Spring在进行类型转化都是基于java.beans.PropertyEditor接口。2. 可以使用@InitBinder来进行对单个controller的类型进行操作,比如添加Date类型的转换器:@InitBinder public void initBinder(WebData... 阅读全文

posted @ 2014-08-03 16:12 Ranger0526 阅读(174) 评论(0) 推荐(0) 编辑

导航