What do you mean by filter in servlet?

A filter is an object that filters tasks that are either request to a resource, or response from a resource, or both. Filtering is performed in doFilter method. Filters get configured in deployment descriptor of your application.

Suggest An Answer

No suggestions avaliable!

Related Interview Questions