How do filters interact with the rest of the servlet processing pipeline?
- Filters can modify both request and response
- Filters can modify only the request
- Filters can modify only the response
- Filters have no interaction with the servlet processing pipeline
Filters in a servlet container can interact with both the request and response objects in the servlet processing pipeline. This enables them to modify the incoming request before it reaches the servlet and manipulate the outgoing response after the servlet has processed the request.
Loading...
Related Quiz
- In transaction management, what does the term 'ACID' stand for?
- What role does the JDBC API play in connection pooling?
- _________ is a technique used to minimize the cost of repeatedly executing similar SQL queries.
- Can a single class implement multiple listener interfaces in Servlets? If so, what are the considerations?
- What is the primary purpose of caching in web applications?