Multiple choice technology web technology

What is a use of RequestDispatcher interface

  1. for forward the request

  2. for include the content from the another URL

  3. both of these

  4. only for forward the request

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The RequestDispatcher interface defines two methods: forward to send a request to another resource, and include to merge another resource's content. Therefore, it is designed for both purposes, making the combined option correct and the single-action distractors incomplete.