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

RequestDispatcher: server-side redirect with request and
response objects.
sendRedirect : Client-side redirect with new request and
response objects.

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the major difference between context parameter and context attribute?

1165


How to get the current httpsession object?

1173


What are the phases of the servlet life cycle?

1185


How to commuincate between an applet and a servlet?

1102


What are some advantages of storing session state in cookies?

1080


How will you pass values from HTML page to the servlet?

1101


How do you create a cookie using servlet?

1224


Difference between doget and dopost?

1226


What is the web server used for running the Servlets?

1063


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1120


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1142


What is the directory structure of a war file?

1215


When servlet object is created?

1226


What does the term localization refer to?

1180


What is lazy loading and what is Generic Servlet Class?

1127