Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing

Question

Why use Request Dispatcher to forward a request to another resource, instead of using a sendRedirect?

  • Redirects are no longer supported in the current servlet API
  • Redirects are not a cross-platform portable mechanism
  • The RequestDispatcher does not use the reflection API
  • The RequestDispatcher does not require a round trip to the client, and thus is more efficient and allows the server to maintain request state


More Test for Practice