How do servlet filters complement the MVC architecture in web applications?
- Filters can preprocess requests and post-process responses, adding a layer of functionality
- Filters cannot be integrated with MVC architecture
- Filters handle only authentication tasks
- Filters replace the need for controllers in MVC
Servlet filters complement the MVC architecture by providing a mechanism to preprocess requests and post-process responses. They add a layer of functionality that can be applied across multiple components, enhancing the flexibility of the MVC design.
Loading...
Related Quiz
- _________ caching is a strategy where each cache stores a subset of the total data set, typically based on geographical location.
- _________ is a security standard that prevents the browser from interpreting user input as script.
- A servlet handling massive data queries is experiencing performance issues. What optimization technique should be prioritized?
- When a connection is closed in a connection pool, what actually happens to that connection?
- Which load balancing algorithm distributes requests based on the server with the least connections?