Hi,
I was solving the mock exam for chapter 5 of Head First
Servlet and
JSP. I doubt there might be a typo in question 6 answer.
The question asks to choose the true statements about listeners in javax.servlet package. The solution showed that option B is correct.
Here is what option B says:
"An HttpSessionListener can be used to perform an action when HttpSession has timed out."
I think it's a typo because HttpSessionListener is injavax.servlet.http package not javax.servlet
Thanks,
Sherif