ProAnswers.org

How can I set a cookie?

Cookie c = new Cookie(“name”,“value”);

response.addCookie(c);