lvjingWn 2015-03-24 10:49 采纳率: 0%
浏览 1896
已结题

表单中的数据如果不填写完,就无法跳入controller中是怎么一一回事

*/
@RequestMapping(value="/control/convertPluralismPost.json",method=RequestMethod.POST)
public ModelAndView convertPluralismPost(String title,String companyName,Integer wage,
@DateTimeFormat(pattern = "yyyy-MM-dd") Date workDate,
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") Date workStartTime,
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") Date workStopTime
,Integer personalNumber,String workAddressName,String linkPhone,Long categoryId,String workDesc,Integer replyHour
,String sex,Integer ageMin,Integer ageMax,Integer bodyHeightMin,Integer bodyHeightMax,Integer bodyWeightMin,Integer bodyWeightMax,
String ddlProvince,String ddlCity,String ddlDistrict,Long userId,Long... lables){}
controller是这样写的,表单跟一般的表单一样

  • 写回答

2条回答 默认 最新

  • threenewbee 2015-03-24 11:30
    关注

    检查过滤器,url映射,下个断点看看

    评论

报告相同问题?