多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

For an HttpServletResponse response,which two create a custom header?()

  • A、response.setHeader("X-MyHeader", "34");
  • B、response.addHeader("X-MyHeader", "34");
  • C、response.setHeader(new HttpHeader("X-MyHeader", "34"));
  • D、response.addHeader(new HttpHeader("X-MyHeader", "34"));
  • E、response.addHeader(new ServletHeader("X-MyHeader", "34"));
正确答案:A,B
答案解析:
进入题库查看解析

微信扫一扫手机做题