The __________ method invalidates the current session and removes its binding from the context.
- destroySession()
- endSession()
- invalidate()
- removeSession()
The invalidate() method invalidates the current session and removes its binding from the context.
Loading...
Related Quiz
- The __________ method is called by the web container to indicate to a filter that it is being taken out of service.
- In JDBC, the __________ exception is thrown when there is a problem with the SQL syntax.
- Why is it important to close resources like database connections in servlets?
- A web application implements a caching layer to reduce database load. Over time, the cache starts serving stale data. What caching strategy should be implemented to resolve this?
- How can a servlet handle multipart/form-data requests for file uploading?