[HFSJ 2nd Edition] chapter 5 Mock Exam Question # 15
posted 8 years ago
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.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