What is the first method called when a filter is instantiated by the servlet container?

  • destroy()
  • doFilter()
  • filterInit()
  • init()
The filterInit() method is the first method called when a filter is instantiated by the servlet container. It is used for initialization purposes.
Add your answer
Loading...

Leave a comment

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