What method is commonly used to send a redirect response to the client in servlets?

  • forwardResponse()
  • redirectResponse()
  • sendForward()
  • sendRedirect()
The sendRedirect() method is commonly used in servlets to send a redirect response to the client, specifying the new URL to which the client should be redirected.
Add your answer
Loading...

Leave a comment

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