I know how to filter a Servlet
but I don't know how can I apply more than one filter for a servlet. I have attached an image for the same.
Here filter F1 is mapped to servlets S1, S2, and S3, filter F2 is mapped to servlet S2, and filter F3 is mapped to servlets S1 and S2.
I found this in Sun Filter Tutotial
Can anyone clarify this through code or diagram for better understanding?
Thanks in advance !