单项选择题Which interface must a class implement so that instances of the class are notified after any object is added to a session? ()

A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionValueListener
C. javax.servlet.http.HttpSessionBindingListener
D. javax.servlet.http.HttpSessionAttributeListener


您可能感兴趣的试卷

你可能感兴趣的试题

2.多项选择题Which three are valid values for the body-content attribute of a tag directive in a tag file? ()

A. EL
B. JSP
C. empty
D. dynamic
E. scriptless
F. tagdependent

10.多项选择题For which three events can web application event listeners be registered? ()

A. when a session is created
B. after a servlet is destroyed
C. when a session has timed out
D. when a cookie has been created
E. when a servlet has forwarded a request
F. when a session attribute value is changed

最新试题

Which two produce the output "one, two and three"?()

题型:多项选择题

Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()

题型:多项选择题

Which the two are valid and equivalent?()

题型:多项选择题

Which code snippet, inserted at line 8, causes the value Company to be output?()

题型:单项选择题

Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()

题型:单项选择题

A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed. Which two are true? ()

题型:多项选择题

Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()

题型:多项选择题

Which two classes or interfaces provide a getSession method?()

题型:多项选择题

Given that session is a valid HttpSession object:  Int max = session.getAttribute(“MyReallyLongName”);  Which is true?()  

题型:单项选择题

Which the three are true about servlet filters?()

题型:多项选择题