The Servlet Technology Model
- The getWriter() method of the ServletResponse interface returns a PrintWriter object suitable for writing character data in the response.
- The setValue() method of the Cookie class is used to assign a new value to a cookie after the cookie is created.
- A cookie is created by the server on request from a client. It is stored on a client computer.