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 Forward() and sendRedirect()
methode?

Answer Posted / mohan

I want to add one more point to the above answers, that is,
in case of Forward() the attributes related to the request
will remain same, as it is inside the server, whereas
incase of senRedirect(), it results in a new request so the
previous attributes of the request will be lost...

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different Authentication options available in Servlets.

1077


Which java application server is the best?

1041


What are the different methods involved in generic servlet?

1098


Which are the different ways you can communicate between servlets?

1005


What are the supporting protocol by HttpServlet ?

1204


What are the type of protocols used in httpservlet?

1092


What is ServletContext object?

1112


What is meant by Servlet? What are the parameters of service method?

1063


What do you mean by servlet context?

1142


What is http servlet? Explain with the help of an example.

1071


What are the steps that are involved in using the httpservlet class?

1132


How do I know if java is running on linux?

1130


What is the difference between the servlets and cgi programs?

1005


What are the new features added to servlet 2.5?

1103


What is called servlet mapping?

1085