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

A. The attribute foo is placed in the applicationB. A S……

Given the HttpServlet code:  
getServletContext().setAttribute(“foo”, “value”);
What is the result?()



A. The attribute foo is placed in the application
B. A ServletContextListener registered for that servlet is notified
C. A ServletAttributeListener registered for that servlet is notified
D. An HttpSessionAttributeListener registered for that servlet is notified

热门试题