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

  1. request.getRequestDispatcher(path): In order to create it we need to give the relative path of the resource
  2. context.getRequestDispatcher(path): In order to create it we need to give the absolute path of the resource.


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email