Vijay Kumar
Difference between request.getRequestDispatcher() and context.getRequestDispatcher()
1 Answer(s)      4 years and 6 months ago
Posted in : JSP-Interview Questions

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

Advertisement
View Answers

October 30, 2010 at 3:23 PM


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.










Related Tutorials/Questions & Answers: