Questions:
Question 1:
The sendError() method sends what type of information to the client?
A. Response footer.
B. Response header.
C. Content body.
D. None of the above.
Question 2:
Which of the following is a correct sendError() call?
A. response.sendError(HttpServletResponse.SC_FORBIDDEN, "Sorry, restricted to geeks.");
B. request.sendError(HttpServletResponse.SC_FORBIDDEN, "Sorry,