题目内容

使用SevletConfig接口的哪个方法可以获取Servlet的初始化参数?

A. getInitParameter(java.lang.String name)
B. getIServletContext()
C. getIServletName()
D. getIServlet()

查看答案
更多问题

下面哪个注解用于为Servlet配置初始化参数?

A. @WebFilter
B. @WebInitParam
C. @WebInitParams
D. @WebInitLinstener

Web容器创建好ServletConfig对象后由什么方法传递给Servlet?

A. init()
B. destory()
C. doGet()
D. service()

ServletConfig对象封装了Servlet的初始化参数信息。

A. 对
B. 错

单调函数的导函数必为单调函数。

A. 对
B. 错

答案查题题库