What is the primary purpose of using filters in web applications?

  • To handle HTTP requests and responses
  • To manage session information
  • To perform tasks before or after the request is handled by a servlet
  • To store data in the client's browser
The primary purpose of using filters in web applications is to perform tasks before or after the request is handled by a servlet, allowing for common processing tasks to be centralized.
Add your answer
Loading...

Leave a comment

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