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
Is tomcat a servlet container?
How can you start a jta transaction from a servlet deployed on jboss?
What is the purpose of requestdispatcher interface?
what is multiple server?
Difference between java beans & servlets?
What is cgi and what are its drawbacks?
Whats the advantages using servlets over using CGI?
What methodology can be followed to store more number of objects in a remote server?
What is the functionality of actionservlet and requestprocessor?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is the need of servlet filters?
What is the main purpose of java servlets?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?