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 Web Component Certification (SCWCD/OCPJWCD) and the fly likes mock question 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "mock question" Watch "mock question" New topic

mock question

friso jonge
Ranch Hand

Joined: Aug 06, 2002
Posts: 41
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

Joined: Jan 27, 2001
Posts: 445
I think it can be C as well.How can a RequestDispatcher manage threading issues?
Have you checked out Aspose?
subject: mock question
It's not a secret anymore!