What is the use of RequestDispatcher in servlet?
Answer Posted / yuga.reddi08
RequestDispatcher is an interface,In a web application
having multiple webcomponents to handle a single request at
time we go for RequestDispatcher.
RequestDispatcher rd=servletRequest.getRequestDispatcher
("url of the webcomponent");
rd.inculude(request,response);
rd.forward(request,response);
| Is This Answer Correct ? | 34 Yes | 27 No |
Post New Answer View All Answers
What are the phases of servlet life cycle?
Which application server is best for java?
What is cookie in servlet?
What is the need of session tracking in web application?
What do you mean by request dispatcher in servlet?
Tell us something about servletcontext interface.
Which method of the httpservletrequest object is used?
What is the difference between portlet and servlet?
Why HttpServlet class is declared abstract?
What is the use of request dispatcher interface?
Is servlet a framework?
If some new data has entered the database, explain how can a servlet refresh automatically?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is dispatcher servlet?
What is the