移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

多选题

Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()

发布日期:2022-05-22

Given: String value = getServletContext().getInitP...
A

The foo initialization parameter CANNOT be set programmatically.

B

Compilation fails because getInitParameter returns type Object.

C

The foo initialization parameter is NOT a servlet initialization parameter.

D

Compilation fails because ServletContext does NOT have a getInitParameter method.

E

The foo parameter must be defined within the  element of the deployment descriptor.

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!