Which of the following statements are true?
Choose at least one answer.
A. A filter must extend the HttpFilter class
B. A filter must implement the Filter interface
C. Filters are chained to servlets through the filter tag in the deployment descriptor
D. A filter must be mapped to one and only one servlet
E. A filter may be mapped either to a single servlet or to multiple servlets via a URL pattern
B. C. E. are the solutions.
I do not understand why C. should be correct? We use <filter-mapping> tag to chain filters to a servlet isn't it???