Which of the following code is used to get an attribute in a http session object in servlets.

A. Session.getattribute(string name)
B. Session.alterattribute(string name)
C. Session.updateattribute(string name)
D. Session.setattribute(string name)
View Answer

A. Session.getattribute(string name)

Leave a Comment