This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

mock question  RSS feed

 
friso jonge
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which of the folowing is most likely false ?
a) a seperate RequestDispatcher is associated with each request object.
b) request attributes are indirectly linked to the RequestDispatcher object
c) a RequestDispatcher manages threading issues associated with req.attributes of each request object.
d) the requestDispatcher is a wrapper for the target servlet
please post your votes for the answers, and explain.
book answer:
A - the reqdispatcher object can be obtained in two ways. One way is throught the request object, and the other through the servletContext. Consequently it is not tightly coupled with the request object.
(hmmm, doesn't that answer another question ?)
 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it can be C as well.How can a RequestDispatcher manage threading issues?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!