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 is difference between GenericServlet and HttpServlet?
How to notify an object in session when session is invalidated or timed-out?
How do servlets work?
Can we fetch the attributes related to a servlet on a different servlet?
What is servlet and its use?
How is a servlet implemented in code?
Is servlet a controller?
What are the uses of servlets?
Which HTTP method is non-idempotent?
What is the dispatcher servlet?
What are session variable in servlets?
What is the
What are the functions of the servlet container?
What are the annotations used in servlet 3?
What is servlet in tomcat?