Examveda

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)

Answer: Option A


This Question Belongs to Java Program >> Java Server And Servlet

Join The Discussion

Related Questions on Java Server and Servlet