@RequestParam和request.getParamter和request.getParamterMap的用法及區別

@RequestParam 該註解是用於獲取在get 方式中queryString的值,和Content-Type爲application/x-www-form-urlencoded的post方式中 body data的值。 request.getParamter(String s) 該方法和上面的註解功能相同,也是用來獲取get或post方式傳遞的參數值,輸出結果爲String類型 reques
相關文章
相關標籤/搜索