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 are the different session tracking techniques?
How the typical servlet code look like ?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
Why servlet is faster than jsp?
What is the major difference between servlet and applet?
Difference between GET and POST?
What is servlet invoker?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is called a session?
What are the advantages of servlets over traditional cgi?
How do I support both get and post from the same servlet?
Explain web application directory arrangement?
What exactly are the functions of servlet?
What is the
Why do we have servlet wrapper classes?