What is the primary purpose of a filter chain in a servlet environment?

  • To establish a secure connection
  • To execute servlets sequentially
  • To handle exceptions in a servlet
  • To perform multiple filters on a request and response
The primary purpose of a filter chain is to allow multiple filters to be applied to a request and response in a sequential order, enabling the execution of various processing tasks.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *