This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Bunkhouse Porch and the fly likes HFSJ Mock exam for chapter 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Books » Bunkhouse Porch
Bookmark "HFSJ Mock exam for chapter 5" Watch "HFSJ Mock exam for chapter 5" New topic
Author

HFSJ Mock exam for chapter 5

Sherif Mahmoud
Greenhorn

Joined: Jun 01, 2007
Posts: 7
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
Gangadhar Reddy
Greenhorn

Joined: Aug 13, 2007
Posts: 25
Yes you are right, it's an error :-)
Sherif Mahmoud
Greenhorn

Joined: Jun 01, 2007
Posts: 7
I looked in the book errata on the o'reilly web site. It lists this as an error and the correction is to remove the part that specifies that the listeners should be in javax.servlet package.

Thanks,

Sherif
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: HFSJ Mock exam for chapter 5
 
It's not a secret anymore!