Which XML element is used to declare a filter in a web application's deployment descriptor?

  • filter
  • filter-mapping
  • servlet-filter
  • web-filter
The element is used to declare a filter in a web application's deployment descriptor (web.xml). This element contains the filter name and the fully qualified class name of the filter.
Add your answer
Loading...

Leave a comment

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