Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

What is the difference between RequestDispatcher and sendredirect?

Ads

 
 

Share on Google+Share on Google+

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

What is the difference between RequestDispatcher and sendredirect?

Ads
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


Ads









Related Tutorials/Questions & Answers:
Advertisements