• Post Reply Bookmark Topic Watch Topic
  • New Topic

mock question

 
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?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!