Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Describe in brief RequestDespatcher?

1072


What are the annotations used in servlet 3?

995


How a servlet is unloaded?

1029


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

1088


What is cookie? Why is cookie used?

1007


What is the use of httpservletresponsewrapper?

912


How do you design microservices?

1020


What is meant by Servlet? What are the parameters of service method?

1007


How can we achieve transport layer security for our web application?

967


Explain web container.

977


What do you mean by the servlet chaining?

1007


How to upload a file to the server using servlet?

952


What is generic servlet class?

1010


Differentiate between the get and post method

1005


What are the life cycle methods of a servlet?

989