The ________ method of the HttpServletRequest interface is used to obtain the session object in servlets.
- createSession()
- getSession()
- retrieveSession()
- startSession()
The getSession() method of the HttpServletRequest interface is used to obtain the session object in servlets.
Loading...
Related Quiz
- Can a servlet's destroy() method be overridden? If yes, what should be considered?
- In a case where file uploads are taking too long, what are potential causes and solutions?
- In cloud environments, _________ scaling refers to the automated process of adding or removing resources as needed.
- What is a common strategy for handling the situation when all connections in the pool are in use?
- In terms of design pattern, which one follows the Model View Controller (MVC) more closely?