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

What are the possible values for language directive?

911


Mention the scope values for tag.

926


What is a hidden comment in jsp?

950


What is contextpath in jsp?

936


What is el in jsp?

935


How do I save a jsp file?

968


How to make a “new line in html” in jsp?

941


What do you mean by jsp directives?

994


What are directives in jsp?

973


Why jsp is used instead of html?

1041


How clear chache and buffer of opera browser.

2402


How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?

861


What is jsp standard tag library, provide some example usage?

896


Which jsp life cycle is in correct order?

928


What are the advantages of jsp?

1024