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 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the new features added to servlet 2.5?

1153


How can you create a session in servlet?

1214


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1119


Explain servlet life cycle?

1188


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1121


What do you mean by servlet?

1195


What is generic servlet class?

1121


Why is init() method is used in servlets?

1078


What are the functions of the servlet container?

1694


What is difference between jsp and servlet?

1211


What is context in servlet?

1098


What are the different session tracking techniques?

1244


What is servlet configuration?

1123


Is java servlet still used?

1088


What is the difference between a generic servlet and http servlet?

1044