Question: what is the difference in using request.getrequestdispatcher() and context.getrequestdispatcher()?
Answer: The request method getRequestDispatcher() can be used for referring to local servlets within single webapp. Servlet context based getRequestDispatcher() method can used of referring servlets from other web applications deployed on SAME server.