Friday, March 13, 2009

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

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

Answer :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.

No comments: