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
How do you get the ip address of the client in servlet?
How does java thread pool work?
What's the advantages using servlets than using cgi?
What are the phases of a servlet life cycle?
What are the key methods that are involved in processing of http servlets?
What is session tracking?
How httpservlet is different from the genericservlet?
What is the difference between portlet and servlet?
Why jsp is better than servlet?
What exception should be thrown when servlet is not properly initialized?
How can we include static files in the jsp page?
What do you mean by url pattern in servlet?
What is the difference between encodeRedirectUrl and encodeURL?
What are all the advantages of servlet over cgi?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?