What is RequestDispatcher in Servlets?

Communication is very needed between Servlets and Container. Towards this goal Servlet API comes with three interfaces. Following table gives the list and their functionality. Interface Functionality Example with explanation and screenshots available at ServletConfig Used to communicate with Container to read web.xml (meant for one servlet only) init-param Example using ServletConfig ServletContext Used to …

What is RequestDispatcher in Servlets? Read More »