How does the sendRedirect() method communicate the new URL to the client's browser?

  • Via HTTP headers
  • Via HTTP status code
  • Via URL parameters
  • Via server-side cookies
The sendRedirect() method communicates the new URL to the client's browser by sending an HTTP redirect response with the new URL in the HTTP headers.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *