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
Can we use threads in Servlets?
What is the purpose of inter-servlet communication?
What is webservlet?
How will you pass values from HTML page to the servlet?
What is servlet interface?
What do you mean by request dispatcher in servlet?
Why doesn’t a servlet include main()? How does it work?
What are the type of protocols used in httpservlet?
What are the drawbacks of cgi?
Define declaration.
How does tomcat servlet container work?
What is the difference between Server and Container?
Which method is called when reference variable is passed in system.net?
What are the key methods that are involved in processing of http servlets?
How can you run a servlet program?