The sendRedirect method defined in the HttpServlet class is equivalent to invoking the setStatus method with they following parameter and a Location header in the URL. Select one correct answer.

The sendRedirect method defined in the HttpServlet class is equivalent to invoking the setStatus method with they following parameter and a Location header in the URL. Select one correct answer.




a. SC_OK
b. SC_MOVED_TEMPORARILY
c. SC_NOT_FOUND
d. SC_INTERNAL_SERVER_ERROR
e. ESC_BAD_REQUEST


Answer: B


Learn More :