TTP Status 400 - Required Integer parameter 'XXXX' is not present;
在使用@RequestParam常用於處理簡單類型的綁定。中使用required=true時,表示請求中一定要有相應的參數,如果請求沒有參數就會包以上錯誤。
HTTP Status 500 - Required Integer parameter 'item_id' is not present
在使用@RequestParam常用於處理簡單類型的綁定。中使用required=true時,value=“xxxx”,請求中必須含有xxxx屬性名的參數,如果請求中含有參數但參數中沒有xxxx屬性就會報HTTP Status 500 - Required Integer parameter 'item_id' is not present;