ABDULLA KHAN PATHAN
What is the difference between RequestDispatcher and sendredirect?
1 Answer(s)      3 years and 2 months ago
Posted in : Java Beginners

What is the difference between RequestDispatcher and sendredirect?

Advertisement
View Answers

June 6, 2012 at 5:40 PM


RequestDispatcher is an interface which is used to communicate two webapplications those are residing in the same server. we know that there are two methods in this Interface they are forward(req,res) and include(req,res).While to Communicate two or more webapplications which are residing in the different servers we are using sendRedirect(url address).

For more information, visit the following link:

Difference between RequestDispatcher and SendRedirect










Related Tutorials/Questions & Answers:
Advertisements