单项选择题
For a given ServletResponse response, which retrieves an object for writing binary data?()
A. response.getWriter()
B. response.getOutputStream()
C. response.getOutputWriter()
D. response.getWriter().getOutputSTream()
E. response.getWriter(Writer.OUTPUT_BINARY)
相关考题
-
单项选择题
Which theHTTPmethodrepresentsarequestforinformationaboutthesupportedmethodsonanHTTPserver?()
A. GET
B. INFO
C. HEAD
D. TRACE
E. OPTIONS -
单项选择题
GivenanHttpServletRequestrequest,whichretrievesanobjectoftypeAccountwithanIdof“account”?()
A. Account account = request.get Resource(”account”):
B. Account account = request.get Attribute (“account”):
C. Account account = request.get Parameter (account”):
D. Account account = (Account)request.getResource (“account”):
E. Account account = (Account) request.get Attribute (“account”):
F. Account account = (Account) request.get Paramter (“account”): -
单项选择题
What is the result?()
A. Compilation succeeds.
B. An error at line 2 cause compilation to fail.
C. An error at line 9 cause compilation to fail.
D. An error at line 10 cause compilation to fail.
E. An error at line 11 cause compilation to fail.
