Kizspy | Question: 27
(Choose 1 answer)
What is the purpose of the response.sendRedirect method in Java Servlets when performing URL rewriting?
A. It forwards the request to another servlet.
B. It sends an HTTP redirect response to the client with a new URL.
C. It appends parameters to the current URL.
D. It retrieves the content of another URL and includes it in the response