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 difference between RequestDispatcher and
sendRedirect?-

Answer Posted / kalyan

RequestDispatcher() method is executed in server-
side,requestdispatcher method is used to transfer the one
page to another serverside page .In this method we can use
the include() and forward() methods .

SendRedirect () method is directly into the client side ....

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I override the service() method?

1139


Which HTTP method is non-idempotent?

1184


Explain the role of dispatcherservlet and contextloaderlistener.

1259


How to get the server information in a servlet?

1215


Explain the war file?

1117


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1164


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

1332


What is the use of httpservletrequestwrapper?

1147


How the typical servlet code look like ?

1319


What are the important functions of filters?

1200


Difference between doget and dopost?

1226


What is SingleThreadModel interface?

1209


How forward () method is different from send redirect () method?

1024


What exception should be thrown when servlet is not properly initialized?

1058


What is the difference between servlet and jsp?

1172