问题详情
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?()
Aresponse.setLength(numberOfBytes);
Bresponse.setContentLength(numberOfBytes);
Cresponse.setHeader(Length, numberOfBytes);
Dresponse.setIntHeader(Length, numberOfBytes);
Eresponse.setHeader(Content-Length, numberOfBytes);
Fresponse.setIntHeader(Content-Length, numberOfBytes);
未找到的试题在搜索页框底部可快速提交,在会员中心"提交的题"查看可解决状态。
收藏该题
查看答案