我有一個像http://localhost:8080/api/create/請求的URL,而控制器具有下面的代碼無法將URL映射控制器
@RequestMapping(value = "/", method = RequestMethod.GET)
public ResponseEntity<String> getApiResponse(HttpServletRequest request)
throws Exception {}
控制怎麼會涉及到這個方法?我thers任何方式在春季要做到這一點,因爲我想請求映射網址是「/」只
感謝您的想法,要求是一樣療法eQUEST的URL可以是任何HTTP: // localhost:8080/api/create?test =「」或http:// localhost:8080/api/create/edit但是equestMapping應該只是'/' – user1195292 2012-02-22 08:08:37