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
Define the servlet mapping.
What is new in ServletRequest interface ? (Servlet 2.4)
What are the jobs performed by servlets?
What are the new features added to servlet 2.5?
How can you create a session in servlet?
What are the uses of servlet
What is cgi?
What is the default http method in the servlet?
Describe servlet?
What’s the difference between genericservlet and httpservlet?
What is Client-Server Computing?
Explain the architechure of a servlet?
What are the steps that are required to handle the multi-threading?
What are the types of Session Tracking ?
How to get the actual path of servlet in server?