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 / malyadri b

RequestDispatcher
rd=ServletContext.getRequestDispatcher("url of resource");
rd.forward(req,res);----used to forward to another resource.
rd.include(req,res);----used to include other resource.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why servlet is used as controller ? Not JSP? I want complete explation?

1127


Explain how to improve Servlet Performance?

1138


What is the difference in between the httpservlet and generic servlet?

1118


How do you get the ip address of the client in servlet?

1006


What are the uses of servlets?

1135


What is getservletcontext?

1065


What is the use of attribute in servlets?

1041


What is servlet collaboration?

1141


What is url encoding and url decoding

1147


How are filters?

1036


How to commuincate between an applet and a servlet?

1048


Why doesn’t a servlet include main()? How does it work?

1153


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

1029


Which interface must be implemented by all servlets?

1339


How can we invoke another servlet in a different application?

1207