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 use jstl in html?

826


What is response sendredirect?

871


What is an expression language?

895


What is error page in jsp?

848


How can we extend jsp technology?

1018


Why do we need custom tags in jsp?

837


How to use jsp el to get http method name?

886


How do I mix jsp and ssi #include? What is the difference between include directive & jsp:include action?

953


What are directives? What are the different types of directives available in jsp?

831


What is the use of jstl?

808


What are standard actions in JSP?

914


Differentiate between include directive and include action.

918


How does error handling occur with jstl?

882


Which jsp method cannot be overridden?

870


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

896