2016年6月28日

json中$ref对象重复引用问题

摘要: FastJson提供了SerializerFeature.DisableCircularReferenceDetect这个序列化选项,用来关闭引用检测。关闭引用检测后,重复引用对象时就不会被$ref代替,但是在循环引用时也会导致StackOverflowError异常。 JSON.toJSONStr 阅读全文
posted @ 2016-06-28 09:24 qian_long 阅读(3037) 评论(0) 推荐(0)
2016年6月23日

前台传参数时间类型不匹配:type 'java.lang.String' to required type 'java.util.Date' for property 'createDate'

摘要: springMVC action接收参数: org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errorsField error in o 阅读全文
posted @ 2016-06-23 12:52 qian_long 阅读(12457) 评论(0) 推荐(1)

wangEditor ie9 表单上传图片

摘要: wangEditor ie9 表单上传图片 弹框无法消失 var resultText = $.trim(iframeWindow.document.body.innerHTML);resultText = null 阅读全文
posted @ 2016-06-23 12:43 qian_long 阅读(340) 评论(0) 推荐(0)