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 / hitler

The RequestDispatcher is executed in server side, request will
send to one server side program to another server side
programe.advantage of RequestDispatcher is executed fastly in
server side.,
The response.sendRedirct(..) is executed in browser side means
the request url will send to browser url , advantage of
sendRedirect(..) is can intract with one application to
another application.

depand on situvation we are used ..

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a servlet-to-servlet communcation?

1257


Why do you use session tracking in httpservlet?

1196


Given the request path below, which are context path, servlet path and path info?

1096


What is servlet attributes and their scope?

1101


Who is responsible to create the object of servlet?

1252


Describe some assignments that are executed by servlet container?

1122


how many jsp scripting elements are there and what are those?

1064


Explain the servlet context.

1209


What are the different ways we can maintain state between requests?

1159


Describe in brief RequestDespatcher?

1182


What are session variable in servlets?

1066


What do you mean by interservlet communication?

1121


What is cookies in servlet with example?

1227


When a servlet accepts a call from a client, it receives two objects. What are they?

1302


How does java thread pool work?

1186