Which of the following code is used to get an attribute in a HTTP Session object in servlets?

Which of the following code is used to get an attribute in a HTTP Session object in servlets? Correct Answer session.getAttribute(String name)

session has various methods for use.

Related Questions

Which of the following is NOT a standard HTTP status code in Java Servlets?