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

What is servlet mapping?

1023


What are the steps that are required to handle the multi-threading?

1106


Explain Action Servlet?

1088


What is the directory structure of web application?

989


Can you create a deadlock condition on a servlet?

1083


What is the workflow of a servlet?

1181


Write a hello world program using servlets.

1063


What are different ways for servlet authentication?

1106


What do you mean by scope object and what are its types?

1079


What do you mean by a filter and how does it work?

955


How do we call one servlet from another servlet?

1046


How to get the current httpsession object?

1121


Differentiate between get and post?

1163


What is Servlet API used for connecting database?

1102


Why are http servlets used in programming?

1009