Difference between Include, Forward and sendRedirect in
Servlet?
Answer Posted / franklin
Include:It helps us to include the contents of some other
file in a JSP
jsp:include-it includes the contents during the run time
forward:will send the same request to the new server.Client
will not know that he s redirected to the new page as
forwarding will take place at the server end.
sendRedirect:will not send the same request to the
server.Client will know that he s redirected to the other
site.
Is This Answer Correct ? | 27 Yes | 17 No |
Post New Answer View All Answers
What are the important functions of filters?
How will you pass values from HTML page to the servlet?
Explain the architechure of a servlet?
What is servlet and list its types?
Why is httpservlet declared abstract?
Which application server is best for java?
What are Servlets?
What are the different session tracking techniques?
What do you mean by chaining in servlet?
What is the difference between the http servlet and generic servlet?
Does servlet have main method?
Why is Servlet so popular?
What do you mean by default initialization in java servlet?
What's the architecture of a servlet package?
What is meant by session? Tell me something about httpsession class?