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 is context in servlet?
What is difference between server and servlet?
Write a command to get actual path of a servlet to the server?
Which httpsession object is used to view and manipulate information about a session?
What is the main purpose of java servlets?
Explain the difference between a web server and a web container?
What is the use of java servlet api?
How native code can be used in a servlet?
What is the major difference between context parameter and context attribute?
How the JSP file will be executed on the Server side?
How to get the current httpsession object?
What's the use of servletcontext?
What is the major difference between servlet and applet?
What is called servlet container?
What is the difference between the servlets and cgi programs?