How can a filter access initialization parameters set in the web.xml file?

  • By using the FilterConfig object
  • By using the HttpResponse object
  • By using the HttpServletRequest object
  • By using the ServletContext object
A filter can access initialization parameters set in the web.xml file by using the FilterConfig object. This object provides methods to retrieve initialization parameters.
Add your answer
Loading...

Leave a comment

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