Multiple choices 1/50
(Choose 1 answer)
Which of the following statement correctly store an object associated with a name at a place where all the servlets/jsps of the same webapp participating in a session can access it?Assume that request, response, name, value etc. are references to objects of appropriate types. (Choose one)
A. request.setAttribute(name.value):
B request.setParameter(name.value)
C response.setAttribute(name.value):
D request.getSession().setAttribute(name.value):
Next
2
44
3
4
5
6
45 46 47 48
7
8
49 50
9
10
11
12 13
14 15 16 17 18 19 20 21
22
23
24 25
26 27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 42
43