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



Home Answers Viewqa Java-Beginners What is the difference between RequestDispatcher and sendredirect?

Have Programming Question? Ask it here!
 
 
 


ABDULLA KHAN PATHAN
What is the difference between RequestDispatcher and sendredirect?
1 Answer(s)      2 years and a month 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
Advertisements
 

 

 

DMCA.com