Home / CSE MCQs / Servlets-1 :: Discussion

Discussion :: Servlets-1

  1. Which of the following code is used to get an attribute in a HTTP Session object in servlets?
  2. A.
    session.getAttribute(String name)
    B.
    session.alterAttribute(String name)
    C.
    session.updateAttribute(String name)
    D.
    session.setAttribute(String name)

    View Answer

    Workspace

    Answer : Option A

    Explanation :



Be The First To Comment