aspose file tools*
The moose likes Servlets and the fly likes  [HFSJ 2nd Edition] chapter 5 Mock Exam Question # 15 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

[HFSJ 2nd Edition] chapter 5 Mock Exam Question # 15

Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Which are true about the RequestDispatcher interface? (Choose all that apply.)
A. Of its two methods, forward() is used most frequently.
B. Its methods take the following arguments: a resource, a request, and a response.
C. Depending on the class whose method creates a RequestDispatcher, the path to the resource to be forwarded to will change.
D. Regardless of the class whose method creates a RequestDispatcher, the path to the resource to be forwarded to will NOT change.
E. If your servlet invokes RequestDispatcher.forward, it can send its own response
The options A and C are the correct one. I know how option A is correct. But I couldn't find how option C is correct and options D and E are incorrect.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [HFSJ 2nd Edition] chapter 5 Mock Exam Question # 15