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 <jsp:forward> and
sendRedirect?

Answer Posted / mahmood alam siddiqui

Forwrd :: when we invoke forward the request is sent to the
another resource on the server without the client being
inform that difference resource is going to process that
request.

SendRedirect :: when we invoke sendRedirect, It causes the
web container to return to the brouser that means new URL
should be requested.

SendRedirecr takes extra round trip
Forward is fater than sendRedirect

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we call servlet from jsp?

939


How can I prevent the output of my jsp or servlet pages from being cached by the browser?

1083


What is server side programming language?

951


What do you know about jsp expression language (jsp expression language – el)?

979


Is jsp better than servlet?

965


List down the major differences between the jsp custom tags and java beans.

901


How to find out the name of the http method using jsp el?

1000


What is a expression?

977


Why do we need servlets and jsp?

1058


What is JTGrid?

2489


Can any one explain about the project Approximate shortest distance computing:A query dependent local landmark scheme

1788


Explain static method?

1073


What are the features of jsp?

978


What is meant by jsp?

1005


How can automatic creation of session be prevented in a jsp page?

1004