You are creating a servlet that generates stock market graphs. You want to provide the web
browser with precise information about the amount of data being sent in the response
stream.Which two HttpServletResponse methods will you use to provide this information?
(Choose two.)
A.
response.setLength(numberOfBytes);
B.
response.setContentLength(numberOfBytes);
C.
response.setHeader(“Length”, numberOfBytes);
D.
response.setIntHeader(“Length”, numberOfBytes);
E.
response.setHeader(“Content-Length”, numberOfBytes);
F.
response.setIntHeader(“Content-Length”, numberOfBytes);
Explanation:
please put the answer