Page 1 of 1

Re: About Question enthuware.jwpv6.2.770 :

Posted: Thu Jan 10, 2013 1:06 pm
by gurpreet_asrgndu
the explanation says that the sessionDestroyed is called for all the listeners in the order they are declared in web.xml. but the specs says following:

servlet 3.0 spec:

8.2.3 Implementations of javax.servlet.http.HttpSessionListener are
invoked at their sessionCreated method in the order in which they have
been declared, and at their sessionDestroyed method in reverse order.

so explanation should be modified

Re: About Question enthuware.jwpv6.2.770 :

Posted: Sun Jan 13, 2013 4:20 pm
by admin
You are right. This has now been fixed.

thank you for your feedback!

Re: About Question enthuware.jwpv6.2.770 :

Posted: Wed Sep 11, 2013 2:44 pm
by Jkike79
Hi,

Shouldn't the doGet method throw ServletExceptio and java.io.IOException?

I understand the question is not about the Servlet API but I though it was a tricky question :D

Re: About Question enthuware.jwpv6.2.770 :

Posted: Thu Sep 12, 2013 9:15 am
by admin
No, an overriding method may choose not to throw any exception at all.

HTH,
Paul.