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 the difference between a generic servlet and http servlet?

1000


What’s the difference between forward() and sendredirect() methods?

1021


Why servlet is faster than jsp?

1071


What is Request Dispatcher?

1446


What is servlet attributes and their scope?

1066


What is the inter-servlet communication?

1177


Describe the phases of servlet lifecycle?

1071


What is cookies in servlet with example?

1133


How do we call one servlet from another servlet?

1048


What is the advantage of Servlets when compared with other server side technologies?

2347


Explain url encoding in servlet?

1061


If servlet receives multiple requests, how many objects will it create?

1387


Can you send an authentication error from a servlet?

978


How do we translate jsp?

1059


How is the get () method different from the post() method?

980