题目内容

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

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.

查看答案
更多问题

个性一经形成,就不再改变。()

A. 正确
B. 错误

最适合锁紧或松开T形螺栓上的螺帽的工具是活动扳手。()

A. 正确
B. 错误

广告施工高处作业遇有大雨、大雪、严寒等恶劣天气时()。

A. 应在认为安全的前提下继续施工
B. 应停止高处作业
C. 因工期紧可以继续施工

在排除服务器故障时,“从基本到复杂”的原则不包括()。

A. 系统上从个体到网络:首先将存在故障的服务器独立运行,待测试正常后再接入网络运行,观察故障现象变化并处理
B. 硬件上从最小系统到现实系统:指从可以运行的硬件开始逐步到现实系统为止
C. 软件上从基本系统到现实系统:指从基本操作系统开始逐步到现实系统为止
D. 在用户使用上,经初级用户测试没有问题以后再让熟练用户测试

答案查题题库