springmvc接收參數

[email protected]和@RequestParam的區別 請求路徑上有個id的變量值,可以通過@PathVariable來獲取 @RequestMapping(value = "/page/{id}", method = RequestMethod.GET) [email protected]用來獲得靜態的URL請求入參 spring註解時action裏用到。 簡介: handler
相關文章
相關標籤/搜索