Cookies cont…
Placing Cookies in the Response Headers
The cookie is added to the Set-Cookie response header by means of the addCookie method of HttpServletResponse
Cookie userCookie = new Cookie("user","uid1234");
response.addCookie(userCookie);
Previous slide
Next slide
Back to first slide
View graphic version