Question: What is the advantage of using RequestDispatcher over sendRedirect() to forward a request to another resource? (a) The RequestDispatcher does not use the reflection API.
What is the advantage of using RequestDispatcher over sendRedirect() to forward a request to another resource?
(a) The RequestDispatcher does not use the reflection API.
(b) sendRedirect() is no longer available in the current servlet API.
(c) The RequestDispatcher does not require a round trip to the client, and thus is more efficient and allows the server to maintain request state.
(d) sendRedirect() is not a cross-web server mechanism.
Step by Step Solution
3.49 Rating (149 Votes )
There are 3 Steps involved in it
c The RequestDispatcher does ... View full answer
Get step-by-step solutions from verified subject matter experts
