You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream. Which twoHttpServletResponse methods will you use to provide this information?()
- 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);
正确答案:B,F
答案解析:有
微信扫一扫手机做题