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
What is the use of java servlet api?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
Define the lifecycle for executing a jsp page.
Explain web application directory arrangement?
Explain how to improve Servlet Performance?
What is life cycle of Servlet?
What methodology can be followed to store more number of objects in a remote server?
What do you mean by request dispatcher in servlet?
Why don't we write a constructor in a servlet?
What is cookie in servlet?
Explain the servlet context.
why we should override only no-agrs init() method.
What is the need of servlet filters?
What is the use of httpservletrequestwrapper?
Which method is called when reference variable is passed in system.net?