试题详情
- 单项选择题 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
- A
关注下方微信公众号,在线模考后查看
热门试题