Google News
logo
JSP - Interview Questions
What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?
request.getRequestDispatcher(path) is used to create it we need to give the relative path of the resource whereas context.getRequestDispatcher(path) to create it we need to give the absolute path of the resource.
Advertisement