1.

What are the three methods of inter-servlet communication?

Answer»

The three methods of inter servlet communication are:

  • Servlet manipulation: In Servlet manipulation, one servlet directly invokes the methods of another. These servlets can GET references to other servlets using getServletNames() and getServlet(String NAME).
  • Servlet reuse: In Servlet reuse, one servlet uses another’s ABILITIES for its own purposes. In some cases, this requires forcing a servlet load using a manual HTTP request.
  • Servlet collaboration: In Servlet collaboration, the cooperating servlets share information. Servlets can share information using the system properties list, using a SHARED object, or using inheritance.


Discussion

No Comment Found