单选题Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()A
request.addCookie(username, joe)B
request.setCookie(username, joe)C
response.addCookie(username, joe)D
request.addH
题目
单选题
Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()