Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Interview-Questions Difference between request.getRequestDispatcher() and context.getRequestDispatcher()
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
Difference between request.getRequestDispatcher() and context.getRequestDispatcher()
1 Answer(s)      4 years and 2 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:
Advertisements
 

 

 

DMCA.com