File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
    Bookmark Topic Watch Topic
  • New Topic