Which method is responsible for cleaning up resources held by a filter in the filter chain?
- cleanUp()
- cleanupResources()
- destroy()
- releaseResources()
The destroy() method is responsible for cleaning up resources held by a filter in the filter chain.
Loading...
Related Quiz
- What is the difference between context and init parameters in servlet configuration?
- Filters can be used to implement ________, which is a common requirement in web applications.
- How can a filter be configured to process requests for specific servlets or URL patterns?
- How is an asynchronous task started in a servlet?
- In a complex web application using MVC and servlets, a new feature requires integration of a third-party service. Where should this integration primarily take place?