Home / CSE MCQs / JSP - CSE :: Discussion

Discussion :: JSP - CSE

  1. Why use Request Dispatcher to forward a request to another resource, instead of using a sendRedirect?
  2. A.
    Redirects are no longer supported in the current servlet API
    B.
    Redirects are not a cross-platform portable mechanism
    C.
    The RequestDispatcher does not use the reflection API
    D.
    The RequestDispatcher does not require a round trip to the client, and thus is more efficient and allows the server to maintain request state

    View Answer

    Workspace

    Answer : Option D

    Explanation :



Be The First To Comment