在项目中遇到这样一个问题。
在JSP里面 使用<fmt:formatDate value='${personage.updateTime}' type='date'/> 这种方式能获取到值并且正确格式化显示
但是用ajax请求后拼的就会报错
html += "<td><fmt:formatDate value='"+data.list[position].updateTime+"' type='date'/></td>";
data.list[position].updateTime .是有数据的。
错误如下
Unable to convert string ""+data.list[position].updateTime+"" to class "java.util.Date" for attribute "value": Property Editor not registered with the PropertyEditorManager
求解?。