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 forward() and include() of servlets
RequestDispatcher interface?

Answer Posted / ravikiran

forward will make the flow into a different page,where as
include mechanism will include the page to the current
response and continues the flow.
Note:the forward and include should be called before the
response is committed for example before the call to flush()
or flushBuffer() or the write method in the response stream

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of servlet and what is servlet chaining?

1088


What are important features of Servlet 3?

1086


What is the procedure of invoking different servlet in a different application?

1011


How to get the IP address of client in servlet?

1080


Which is the methods of generated servlet?

1217


What is the difference between sendredirect() and forward() in a servlet?

1012


Why is a constructor needed in a servlet even if we use the init method?

1129


What are session variable in servlets?

1020


What is called servlet mapping?

1070


How can we implement a jsp page?

1132


What exactly is a servlet?

1002


What are the life cycle methods of a servlet?

1043


Explain how does JSP handle run-time exceptions?

1091


What does the term localization refer to?

1102


What do you mean by session tracking and also explain its techniques?

979