difference between forward and sendredirect
Answer Posted / uv
If I am not wrong,
forward() is used to transfer the request within the web
application whereas sendRedirect() is used to transfer the
request from one webapplication to another.
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
What is a servlet context?
What is Servlet API used for connecting database?
What is servlet interface?
What do you mean by request dispatcher in servlet?
What is the difference between servlet and filter?
What is servletconfig?
What are the functions of an intercepting filter?
Explain servlet life cycle?
What is the capacity the doget can send to the server?
How does Cookies work in Servlets?
What is ServletContext object?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Why jsp is better than servlet?
When jsessionid is created?
What are the phases of a servlet life cycle?