Difference between Include, Forward and sendRedirect in
Servlet?
Answer Posted / abilash
include: will include another file in our current file
forward: will forward the current request to the forwarding page
sendRediect: will call the next page but it won't send the
same request to the new page but forward will send the same
request to the new page
| Is This Answer Correct ? | 96 Yes | 13 No |
Post New Answer View All Answers
What are the different types of servlets?
Explain session tracking and its importance?
What is the need of session tracking in web application?
What is the use of httpservletrequestwrapper?
What is the difference between genericservlet and httpservlet
What are the different methods involved in the process of session management in servlets?
How can the referrer and the target urls be used in servlet?
How servlet is created?
List out the difference between ServletConfig and ServletContext?
What is string tokenizer?
How do I support both get and post from the same servlet?
How do we share data using 'getservletcontext ()?
What is the life-cycle of servlets?
Explain the architechure of a servlet?
How the servlet is loaded?