读书人

关于springmvc交付出现The request se

发布时间: 2013-09-06 10:17:17 作者: rapoo

关于springmvc提交出现The request sent by the client was syntactically incorrect ()
/** * 转换绑定的日期格式 * * @param request * @param model * @return */@InitBinderpublic void initBinder(WebDataBinder binder) {DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");dateFormat.setLenient(true);binder.registerCustomEditor(Date.class, new CustomDateEditor(dateFormat, true));}

?

?

读书人网 >VC/MFC

热点推荐