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 sendRedirect() and forward()?
in what situations do we have to use send redirect()
instead of forward().

Answer Posted / senthilraj

Using thse methods we can redirect one page to another page.

Using the sendReirect() we can connect any URL from
outide the web application.
Using forward() we can connect URL only within
the application.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is webservices in java?

922


Is java 100 percent pure object oriented?

926


What is web container in j2ee?

954


Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you...

2285


Which is latest technology in java?

955


How to invoke stored procedure in hibernate?

972


What is home handle?

950


What is create method?

1028


Is core java and j2se same?

852


Is advanced java and j2ee same?

863


What is the ear file?

940


Why is java more secure?

935


Is java a tool?

924


What is java netbeans?

955


What is tomcat in j2ee?

873