What is Servlet chaining?

Servlet chaining is a technique in which two or more servlets can cooperate in servicing a singl request. In servlet chaining, one servlet’s output is the input of next servlet. This process continues until the last servlet is reached. Its output is then sent back to the client. We are achieving Servlet Chaining with the help of RequestDispatcher.