id
name
bean
type
scope
第1题:
Which statement is true about web container session management?()
第2题:
Upon a user’s first visit to the website, which two operations are always performed when the getSession method is called with no arguments in a servlet?()
第3题:
A.javax.servlet.http.HttpServletRequest
B.javax.servlet.http.HttpSessionContext
C.javax.servlet.http.HttpsServletResponse
D.javax.servlet.http.HttpSessionBindingEvent
E.javax.servlet.http.HttpSessionAttributeEvent
第4题:
For which three events can web application event listeners be registered?()
第5题:
A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()
第6题:
Which two prevent a servlet from handling requests.?()
第7题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第8题:
A.javax.servlet.http.HttpSessionListener
B.javax.servlet.http.HttpSessionBindingListener
C.javax.servlet.http.HttpSessionCreationListener
D.javax.servlet.http.HttpSessionActivationListener
第9题:
You have a use case in your web application that adds several session-scoped attributes. At the end of theuse case, one of these objects, the manager attribute, is removed and then it needs to decide which of theother session-scoped attributes to remove. How can this goal be accomplished?()
第10题:
Given the HttpServlet code: getServletContext().setAttribute(“foo”, “value”); What is the result?()