可学答题网 > 问答 > SCWCD(310-083)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given an HttpServletReques


Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()

  • Arequest.addCookie("username", "joe")
  • Brequest.setCookie("username", "joe")
  • Cresponse.addCookie("username", "joe")
  • Drequest.addHeader(new Cookie("username", "joe"))
  • Erequest.addCookie(new Cookie("username", "joe"))
  • Fresponse.addCookie(new Cookie("username", "joe"))
参考答案
参考解析:
分类:SCWCD(310-083)题库
相关推荐

1、Given  the  fo

Given  the  following  output,  recommend  corrective  action  that &#8194...

2、Given the following 

Given the following output what course of action should be undertaken for a long ...

3、Given an EL function

Given an EL function foo, in namespace func, that requires a long as a paramete...

4、Given the following 

Given the following six method names:(1)addListener(2)addMouseListener (3)setMouseListener(4)deleteMouseListener(5)rem...

5、Given an HttpSession 

Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aUR...

6、Given an Http Sessio

Given an Http Session session. A Servlet Request request. And a Servlet Context context...