All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.
"There is no specific event/listener when an attribute is replaced. However, it can be listened indirectly if an object being replaced implements HttpSessionBindingEvent."
What about attributeReplaced(HttpSessionBindingEvent event) from HttpSessionAttributeListener?