datatable warnning : table id=("xxxx")Ajax Error:@RequestParam與@PathVariable

前臺頁面通過datatable展示數據,前臺報ajax錯誤,後臺controller不過斷點,說明ajax路徑有誤。 錯誤如下:需弄明白@RequestParam與@PathVariable的區別。都是用來獲取請求路徑(url )中的動態參數 controller層    使用@RequestParam時,URL是這樣的:http://host:port/path?參數名=參數值:get post
相關文章
相關標籤/搜索