springmvc在表单提交接收date类型参数的时候会报错:Cannot convert value of type [java.lang.String] to required type [java.util.Date] for property 'actionDate' 一.利用spring的DateTimeFormat注解 让springmvc提交表单时正确的接收date类型参数,主要分以下3个步骤: 1.在需要由string转Date的字段上加上DateTimeFormat注解,代码如…
var ids= new Array(); $("input[class='detailCheck']:checked").each(function(i,k){ var itemId=$(this).attr("itemId"); ids[i]=itemId; }); $.ajax({ url : ctx + "/test/setNoProcess.do", type : "get", da…