单项选择题
Which retrieves all cookies sent in a given HttpSErvletRequest request?()
A. request.getCookies()
B. request.getAttributes()
C. request.getSession ().getCookies()
D. request.getSession (). GetAttributes()
点击查看答案
相关考题
-
多项选择题
ForagivenServletResponseresponse,whichtworetrieveanobjectforwritingtextdata?()
A. response.get Writer ()
B. response.get Output Stream ()
C. response.get Output Writer ()
D. response.get Writer ().get Output Stream()
E. response.get Writer (Writer.OUTPUT_TEXT) -
单项选择题
The attribute “name” has a value of “Foo,” What is the result if this tag handler’s tag is invoked?()
A. Foo
B. done
C. Foodone
D. An exception is thrown at runtime.
E. Compilation fails because of an error in this code. -
问答题
What is the value of the variable output at line 24?
