Which of the following commands is most useful for viewing large files?
The following two code are used to retrieve Attribute1:
1.Object obj=session1.getAttribute('Attribute1'); The getAttribute() method is used to retrieve the bound object with the specified
name in this session, or null if no object is bound under the name.
2.Object obj=binding1.getSession().getAttribute('Attribute1'); The getSession() gets the current valid session associated with this
request.
Answer E and C are incorrect. These code are invalid because the getAttribute() method returns an object instead of a long object or
a String object.
Answer B is incorrect. The HttpSessionBindingEvent object cannot use the getAttribute() method.
Carmelina
2 months agoMargot
15 days agoMiles
16 days agoErin
20 days agoCletus
1 months agoWillis
2 months agoAbraham
22 days agoElin
24 days agoDanica
27 days agoHuey
1 months agoCasey
1 months agoZona
1 months agoJulian
2 months agoWhitney
2 months agoOlive
2 months agoLawrence
11 days agoJanine
22 days agoSantos
25 days agoTamra
1 months agoLorriane
2 months agoMona
3 months agoJerry
3 months agoSabra
3 months ago