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
What are life cycle methods of a servlet?
What is the use of httpservletresponsewrapper?
Why HttpServlet class is declared abstract?
What do you mean by session tracking?
What are different methods of session management in servlets?
What is meant by Servlet? What are the parameters of service method?
What do you mean by request dispatcher in servlet?
What do you mean by the servlet chaining?
How many servlet objects are created?
How do we call one servlet from another servlet?
How can we refresh automatically when new data is entered into the database?
When servlet object is created?
How can you start a jta transaction from a servlet deployed on jboss?
Explain the difference between get and post method in servlet?
What is the workflow of a servlet?