找考题网-背景图
单项选择题


Which retrieves the value associated with “foo” from within an HttpServlet?()

A. String value = getServletConfig( ).getParameter(“foo”);
B. String value = getServletContext( ).getAttribute(“foo”);
C. Object value = getServletContext( ).getInitParameter(“foo”);
D. String value = getServletContext( ).getInitParameter(“foo”)

热门试题