單項(xiàng)選擇題

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

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題