About Question enthuware.jwpv6.2.729 :

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.

Moderators: Site Manager, fjwalraven

Post Reply
tori3852
Posts: 38
Joined: Wed Oct 31, 2012 2:53 am
Contact:

About Question enthuware.jwpv6.2.729 :

Post by tori3852 »

An HttpSessionAttributeListener must be configured in the deployment descriptor using the <listener> element.
and annotation.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.729 :

Post by admin »

You are right. This has now been fixed.
thank you for your feedback!

Jkike79
Posts: 11
Joined: Tue Sep 10, 2013 3:20 pm
Contact:

Re: About Question enthuware.jwpv6.2.729 :

Post by Jkike79 »

The API of the the HttpSessionAttributeListener interface says:

"Interface for receiving notification events about HttpSession attribute changes.
In order to receive these notification events, the implementation class must be either declared in the deployment descriptor of the web application, annotated with WebListener, or registered via one of the addListener methods defined on ServletContext."

So, my question is why ServletContext.addListener is not in the explanation of the answer?

Thank you
Barbara

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.729 :

Post by admin »

You are right. This has now been added in the explanation.
thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest