difference between sendredirect,forward and url rewritting
Answer Posted / ravikiran.chd
sendRedirect will happen on the client side,forward will
happen on the server side,url rewriting will happen by the
browser to do session tracking when the cookies are disabled
by calling response.encodeURL(/abc) or
reponse.encodeRedirectURL(/abc)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the differences between the servletconfig interface and the servletcontext interface?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Why do we have servlet wrapper classes?
What do you mean by session tracking and also explain its techniques?
How can we perform any action at the time of deploying the project?
What do you mean by cgi in servlet?
What is the difference between encodeRedirectUrl and encodeURL?
How can you use a servlet to generate a plain text instead of html?
What are different ways for authentication of servlet?
What is the need of session tracking in web application?
What are the exceptions thrown by servlets? Why?
What exactly are the functions of servlet?
Why do we have servlet filters?
What do you mean by web applications?
What is cookie? Why is cookie used?