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)
Correct Answer:
Verified
Q14: In HTTP Request method Get request is
Q15: In the following statements identify the disadvantages
Q16: Servlet technology is used to create web
Q17: Which method is used to specify before
Q18: What are functions of Servlet container?
A)Lifecycle management
B)Communication
Q19: Which object of HttpSession can be used
Q20: Which methods are used to bind the
Q21: Which method take a string not a
Q22: Which of the following are interface?
1) ServletContext
2)
Q23: The life cycle of a servlet is
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents