What is the function of FilterMapping in a web application?

  • Defines the filter's initialization parameters
  • Indicates the filter's scope
  • Maps a filter to a specific servlet or URL pattern
  • Specifies the order of filter execution
FilterMapping in a web application is used to map a filter to a specific servlet or URL pattern. It specifies the conditions under which the filter should be invoked, such as when a particular servlet is accessed or when a specific URL pattern is matched.
Add your answer
Loading...

Leave a comment

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