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

Is tomcat a servlet container?

1038


How can you start a jta transaction from a servlet deployed on jboss?

1159


What is the purpose of requestdispatcher interface?

1060


what is multiple server?

2302


Difference between java beans & servlets?

1055


What is cgi and what are its drawbacks?

1061


Whats the advantages using servlets over using CGI?

1071


What methodology can be followed to store more number of objects in a remote server?

2272


What is the functionality of actionservlet and requestprocessor?

1087


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

1055


Explain the role of dispatcherservlet and contextloaderlistener.

1184


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

1030


What is the need of servlet filters?

1004


What is the main purpose of java servlets?

1051


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

1242