How is a cookie added to a response by a servlet?

Question:

How is a cookie added to a response by a servlet?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: