wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "mock question" Watch "mock question" New topic
Author

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mock question