What is the purpose of the FilterConfig object in Servlet filters?

  • To define filter order.
  • To hold configuration parameters for a filter.
  • To process HTTP requests.
  • To store filter mappings.
The FilterConfig object is used to hold configuration parameters for a filter, allowing the filter to be customized without modifying the filter code itself.
Add your answer
Loading...

Leave a comment

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