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



Home Answers Viewqa Java-Beginners What is Request Dispatcher?

Have Programming Question? Ask it here!
 
 
 


ABDULLA KHAN PATHAN
What is Request Dispatcher?
1 Answer(s)      2 years and 3 months ago
Posted in : Java Beginners


What is Request Dispatcher?


Advertisement
View Answers

June 6, 2012 at 5:21 PM


RequestDispatcher class is mainly used to 'pass on' the current request to another program (servlet) and therefore allows 'chaining' of the programs. A RequestDispatcher primarily contains two methods include() and forward(). include() method includes the response of another program while forward() method forwards the request of the current program to another one.

Servlet RequestDispatcher include method

Servlet RequestDispatcher forward method



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com