What is Request Dispatcher?

What is Request Dispatcher?

What is Request Dispatcher?

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

Ads









Related Tutorials/Questions & Answers:
what is separate request processor per module in struts1
what is separate request processor per module in struts1
Advertisements
How to send the request and get the request?
request this program
request to help
JMeter HTTP request example
Request for Discussion forum in jsp
What is portal
Servlet: What is it
What is JSR ??
ModuleNotFoundError: No module named 'request'
request processing in servlets
jsp request in struts1
difference between session scope and request scope
Version of taglibs>request dependency
jQuery Ajax load request
Session Object from request
request object value
The $_Request Function
request for java source code
How to send HTTP request in java?
getParameterValues() Method Of The Request Object
Pinting restful webservice request on UI.
JSP Request Dispatcher
getQueryString() Method Of The Request Object
ModuleNotFoundError: No module named 'aiohttp-request'
ModuleNotFoundError: No module named 'async-request'
ModuleNotFoundError: No module named 'async-request'
ModuleNotFoundError: No module named 'async-request'
ModuleNotFoundError: No module named 'async-request'
ModuleNotFoundError: No module named 'async-request'

Ads