Current lesson | Lesson 40/53

Cookies in Practice: Advanced Creation and Reading (Part 2)

Java Servlet and Apache Tomcat: Complete Course from Scratch with Eclipse 0%
Let's go deeper into Cookies in Servlets with practical creation, reading, and updating cases: how to iterate request.getCookies(), how to overwrite a value, and how to handle the case where the cookie isn't present yet. We'll also see how to use them for storing lightweight user preferences.
Instructor
Up next Modifying the Response Based on Cookies (Part 1)