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 / suresh g

RequestDispatcher:

RequestDispatcher class is mainly used to 'pass on'
the current request to another program (servlet) and
therefore allows 'chaining' of the programs. A
RequestDispatcher primarily contains two methods
include() and forward(). include() method includes
the response of another program while forward()
method forwards the request of the current program
to another one.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which protocol will be used by browser and servlet to communicate

1056


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

1032


How to get the path of servlet in the server?

1011


What is context in servlet?

1036


Elucidate servlet attributes and its scope?

1014


How do servlets work?

1027


What is Servlet API used for connecting database?

1099


What is cgi and what are its drawbacks?

1067


Which is the methods of generated servlet?

1221


What are the supporting protocol by HttpServlet ?

1194


What is meant by a web application

1019


What are the advantages of servlets over traditional cgi?

1095


What are the ways to handle multi-threading in servlets?

1084


What is called servlet mapping?

1075


Explain request dispatcher and its methods.

988