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”)