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









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 object - JSP-Servlet
request to help
JMeter HTTP request example
Request for Discussion forum in jsp
ModuleNotFoundError: No module named 'request'
Servlet: What is it
request processing in servlets
jsp request in struts1
What is portal
What is JSR ??
JSP Request Object
request dispatcher - Java Interview Questions
Version of taglibs>request dependency
difference between session scope and request scope
jQuery Ajax load request
Session Object from request
request object value
The $_Request Function
request for java source code
Request for codes - JSP-Servlet
Ajax request object
How to send HTTP request in java?
JSP Request Dispatcher
request header and response - Java Beginners
Pinting restful webservice request on UI.
getParameterValues() Method Of The Request Object
Configure Js request in Web.xml
getQueryString() Method Of The Request Object
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 'django-request'
ModuleNotFoundError: No module named 'oai-request'
ModuleNotFoundError: No module named 'pre-request'
ModuleNotFoundError: No module named 'request_factory'
ModuleNotFoundError: No module named 'request-lifecycle'
ModuleNotFoundError: No module named 'request-network'
ModuleNotFoundError: No module named 'request-session'
ModuleNotFoundError: No module named 'request-session'
ModuleNotFoundError: No module named 'request-validator'
ModuleNotFoundError: No module named 'request-verification'
ModuleNotFoundError: No module named 'async-request'
ModuleNotFoundError: No module named 'bottle-request'
ModuleNotFoundError: No module named 'django-request'
ModuleNotFoundError: No module named 'async-request'

Ads