When a servlet context is initialized or destroyed, the ___________ interface is used.

  • ServletContextAttributeEvent
  • ServletContextAttributeListener
  • ServletContextEvent
  • ServletContextListener
The ServletContextListener interface is used when a servlet context is initialized or destroyed, providing methods for handling these lifecycle events.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *