What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher() | Eklavya Online

What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()

  • getRequestDispatcher(path): In order to create it we need to give the relative path of the resource
  • getRequestDispatcher(path):In order to create it we need to give the absolute path of the resource.