頁面直接請求, Controller代碼 ...
頁面直接請求, Controller代碼
@RequestMapping("/testCookieValue") public String testCookieValue(@CookieValue("JSESSIONID") String sessionId){ System.out.println(sessionId); return null; }
頁面直接請求, Controller代碼 ...
頁面直接請求, Controller代碼
@RequestMapping("/testCookieValue") public String testCookieValue(@CookieValue("JSESSIONID") String sessionId){ System.out.println(sessionId); return null; }