调用ServletContext的setAttribute()方法时,会触发哪个方法调用?(假设有关联的监听器)()

6 查阅

调用ServletContext的setAttribute()方法时,会触发哪个方法调用?(假设有关联的监听器)()

A.ServletContextAttributeListener的attributeAdded()方法

B.ServletContextAttributeListener的attributeRemoved()方法

C.ServletContextAttributeListener的attributeReplaced()方法

D.不会调用监听器的任何方法

参考答案:

答案:A

超星尔雅学习通