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

What’s the use of the servlet wrapper classes??

1161


Is servlet a server side scripting language?

1192


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1104


What is a cookie What is the difference between session and cookie

1145


What are the life cycle methods of the servlet?

1132


Difference between doget and dopost?

1233


What is the directory structure of a war file?

1218


What do you mean by servlet context?

1231


What's the advantages using servlets than using cgi?

1047


What is servlet lazy loading?

1233


How can we invoke another servlet in a different application?

1271


What is the web server used for running the Servlets?

1069


What is load-on-startup in servlet?

1200


What are the steps that are involved in using the httpservlet class?

1190


How many objects of a servlet is created?

1319