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 / abhishek taneja

request dispatcher is used to transfer the value attributes
to servlets and jsps. the request diapatcher is use the
relative url and there is one more thing in request
dispatcher is (non -idempotant) means when u will do the
multiple submits then it will update the database again and
again so to avoid the multiple submits use the (Synchronizer
token pattern,PSG pattern,or sendRedirect)

Is This Answer Correct ?    29 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is called servlet mapping?

997


What are the life cycle methods of the servlet?

1037


What is http servlet? Explain with the help of an example.

1013


Can we override servlet service method?

1050


How to read request headers from servlets?

997


Can we use threads in Servlets?

1079


Can we fetch the attributes related to a servlet on a different servlet?

1083


What’s the difference between genericservlet and httpservlet?

1021


What is servlet initializer?

915


What are the disadvantages of storing session state in cookies?

1093


What is the purpose of requestdispatcher interface?

1002


What are the advantages of servlets over traditional cgi?

1037


How we can call a jsp from the servlet?

955


How can we implement a jsp page?

1076


What is the use of servlet context?

991