Describe Servlet collaboration.- Servlet collaboration is all about sharing information among the servlets.
- Collaborating servlets is to pass the common information that is to be shared directly by one servlet to another through various invocations of the methods.
- To perform these operations, each servlet need to know the other servlet with which it is collaborated.
- The collaboration can be done by redirecting a servlet from another or loading the servlets from the ServletContext access methods.
- This can also be achieved by the methods forward() and include() of RequestDispatcher or by sendRedirect() method.