• +91 9723535972
  • info@interviewmaterial.com

Servlet Interview Questions and Answers

Question - 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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners