关于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));}
?
?