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 are the new features added to servlet 2.5?
How can you create a session in servlet?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
Explain servlet life cycle?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What do you mean by servlet?
What is generic servlet class?
Why is init() method is used in servlets?
What are the functions of the servlet container?
What is difference between jsp and servlet?
What is context in servlet?
What are the different session tracking techniques?
What is servlet configuration?
Is java servlet still used?
What is the difference between a generic servlet and http servlet?