How can filters modify the request and response objects in a filter chain?

  • Modify only the request object
  • Modify the objects directly
  • Use the doFilter() method
  • Use the init() method
Filters can modify the request and response objects by using the doFilter() method in the filter chain.
Add your answer
Loading...

Leave a comment

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