What is the difference between RequestDispatcher and sendredirect?

What is the difference between RequestDispatcher and sendredirect?

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