17 Given an HttpServletRequestrequest and HttpResponseresponse, 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.addHeader(new Cookie("username", "joe"))
(E) request.addCookie(new Cookie("username", "joe")) (F). response.addCookie(new Cookie("username", "joe")) G. response.addHeader(new Cookie("username", "joe"))

答案:登入後查看
統計: 尚無統計資料

詳解 (共 1 筆)

#3851050
F
(共 3 字,隱藏中)
前往觀看
0
0