Which of the following is true about ServletConfig?
- It is a configuration object
- It is a servlet class
- It is a servlet interface
- It is used for session management
ServletConfig is an interface that provides a servlet with its initialization parameters. It is used to pass configuration information to the servlet and is not a class or interface related to session management.
Loading...
Related Quiz
- How is session hijacking typically prevented in a servlet-based application?
- If you want to perform some task when a session is created or destroyed, which listener should you implement?
- What is the function of FilterMapping in a web application?
- In servlets, the _________ framework can be used for advanced error handling and logging.
- In Java EE, the _________ method is used to send a message to the connected WebSocket client.