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
How to rectify errors in java servlet while compilation?
How do cookies work in servlets?
How do servlets work?
How to get the path of servlet in the server?
Why is http protocol called as a stateless protocol?
What is the difference between CGI and Servlet?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What do you mean by web applications? Explain web application directory arrangement?
What are the disadvantages of storing session state in cookies?
What is the difference between portlet and servlet?
How servlet is created?
What is cookie in servlet?
How can we include static files in the jsp page?
What do you mean by session tracking and also explain its techniques?
How can I send user authentication information while making URL Connection?