欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCDCD(310-081)

多项选择题

For an HttpServlet Response response, which two create a custom header()

    A. response.set Header (“X-MyHeader”. “34”):
    B. response.addHeader (“X-MyHeader”. “34”):
    C. response. Set Header (new Http Header (“X-MyHeader”. “34”)):
    D. response.addHeader(new Http Header (“X-MyHeader”. “34”)):
    E. response. addHeader (new Servlet Header (“X-MyHeader”. “34”)):
    F. response. setHeader (new Servlet Header (“X-MyHeader”, “34”)):

点击查看答案

相关考题

  • 多项选择题
    Whichtwopreventaservletfromhandlingrequests.?()

    A. The servlet’s init method returns a non-zero status.
    B. The servlet’s init method throws a Servlet Exception
    C. The servlet’s init method sets the Servlet Response’s context length to 0
    D. The servlet’s init method sets the Servlet Response’s content type to null.
    E. The servlet’s init method does NOT return within a time period defined by the servlet container.

  • 单项选择题
    Given the Tag:   Assuming the tag referenced by my Tags: get Advice uses the Classic event model,  which is true?()

    A. The do After Body method is called.
    B. The doEnd Tag method is NOT called.
    C. The type attribute may be specified in the TLD
    D. The do Start Tag Method must always return SKIP_BODY.
    E. The TLD for this tag must NOT include a  tag.

  • 单项选择题
    What is the result()?

    A. The program runs and prints “ I = 1 , j = 0”
    B. The program runs and prints “ I = 1 , j = 4”
    C. The program runs and prints “ I = 3 , j = 4”
    D. The program runs and prints “ I = 3 , j = 0”
    E. An error at line 4 cause compilation to fail.
    F. An error at line 7 cause compilation to fail.

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题