题目内容

应用程序初始化参数在配置文件( )中进行设置。

A. server.xml
B. web.xml
C. servlet.xml
D. 以上都不对

查看答案
更多问题

在web.xml文件中通过( )标签配置应用程序初始化参数。

A.
B.
C.
D.

application对象的( )方法用于返回已命名的参数值。

A. getInitParameter()
B. getParameter()
C. getAttributeNames()
D. 以上都不对

application对象的( )方法用于返回所有已定义的应用程序初始化参数值的枚举。

A. getInitParameter()
B. getParameter()
C. getAttributeNames()
D. 以上都不对

从application对象中获取指定对象的值使用( )方法。

A. getAttributeNames()
B. setAttribute (String key,Object obj)
C. removeAttribute(String name)
D. getAttribute(String name)

答案查题题库