springMVC 接收List集合參數

困擾了多時的springmvc接收list集合參數終於解決了ajax 若是你是ajax或者contenttype是json,參數又是個list  例如 [{"cooperatorId":"20000010","productNo":"2301"}]spring 那在springmvc裏使用@RequestBody註解就能夠了json 注意的地方 @RequestBody註解接收到的參數是strin
相關文章
相關標籤/搜索