laorer 发表于 2013-2-5 01:27:28

spring绑定java.util.Date时的一个问题

 spring 的java.util.Date 数据绑定时,出现的一个问题,前提是controller的 initBinder()已经注册类型了
An error occurred while evaluating custom action attribute "value" with value "${status.value}": Attempt to convert String "1980-01-02" to type "java.util.Date", but there is no PropertyEditor for that type (null)
不知道什么原因,不过后来调整了下,解决了,原因继续再找,先把解决的方法说出来
下面是出错前的代码
<div class="code_title"><div class="code_title">xml 代码
页: [1]
查看完整版本: spring绑定java.util.Date时的一个问题