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 is the process for chaining servlet?
What is the dispatcher servlet?
What is Servlet API used for connecting database?
What do you mean by deployment descriptor?
What are the advantages of Servlet over CGI?
What are the different methods involved in the process of session management in servlets?
What is URL Encoding?
What are sessions in servlets?
What is meant by a servlet?
Explain the concept of ssi ?
What is called servlet mapping?
What is getservletcontext?
Why do we need a constructor in a servlet if we use the init method?
What do you mean by web applications?
What are the types of protocols supported by httpservlet ?