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 difference between redirect and forward method?

Answer Posted / kuljeet singh

forward() method sendRedirect() method

1) forward() sends the same request to another resource. 1) sendRedirect() method sends new request always because it uses the URL bar of the browser.
2) forward() method works at server side. 2) sendRedirect() method works at client side.
3) forward() method works within the server only 3) sendRedirect() method works within and outside the server.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by custom tag in jsp?

968


What are the jsp tags?

871


Explain scriptlet, expression and declaration in jsp.

996


What is jsp api?

953


What language is jsp?

1016


Give a sample jsp configuration in the deployment descriptor.

923


Explain the various scope values for tag.

899


Explain the uses of jsp?

957


What is jsp custom tag and what are it’s components?

869


What is the jsp?

983


Explain the difference between jspwriter and servlet printwriter in jsp?

964


What is the use of jstl?

864


What do you mean by jstl?

947


What is the purpose of ?

954


How to retrieve warnings?

947