To pass the request and response to the next entity in the chain, the filter uses the __________ method.
- chain.continue()
- chain.doFilter()
- chain.doNext()
- chain.forward()
To pass the request and response to the next entity in the chain, the filter uses the chain.doFilter() method. This method is invoked to invoke the next filter or the servlet in the chain.
Loading...
Related Quiz
- What is a potential downside of using round-robin load balancing in a heterogeneous server environment?
- What is the main difference between 'write-through' and 'write-back' caching strategies?
- When optimizing memory usage in a Java application, what strategies should be considered?
- What is the significance of the finally block in JDBC operations?
- Which of the following techniques is effective for reducing response time in servlets?