How can filters be used to manage cross-cutting concerns in a web application?

  • Filters are applied only to static resources
  • Filters are not suitable for managing cross-cutting concerns
  • Filters are used to manage request and response modifications
  • Filters can only be applied to servlets
Filters are commonly used in web applications to manage cross-cutting concerns by allowing the modification of both request and response objects before they reach the servlet or after the servlet has processed them.
Add your answer
Loading...

Leave a comment

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