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's the use of servletcontext?
What are the type of protocols used in httpservlet?
How to get the actual path of servlet in server?
What are Servlets?
The code in a finally clause will never fail to execute, right?
What is new in ServletRequest interface ? (Servlet 2.4)
Can you use javascript in servlets?
What is the need of session tracking in web application?
What are all the protocols supported by httpservlet?
What is difference between PrintWriter and ServletOutputStream?
Difference between doget and dopost?
what is multiple server?
What is the difference between using getSession(true) and getSession(false) methods?
What is the procedure of invoking different servlet in a different application?
What is servlet used for?