What is the Difference in usingrequest.getRequestDispatcher() and context.getRequestDispatcher()
request.getRequestDispatcher(path): In order to create it we need to give the relative path of the resource context.getRequestDispatcher(path): In order to create it we need to give the absolute path of the resource. In Java Servlet programming, both request.getRequestDispatcher() and context.getRequestDispatcher() are used to obtain a RequestDispatcher object, but they differ in the way they determine … Read more