difference between sendredirect,forward and url rewritting
Answer Posted / md. abid hossain
Both SendRedirect and forward is used to forward the
request to another resource. In case of forward() container
does not report to the browser,it is happend within the
container..so objects which are stored in request is not
lost..bt in sendredirect coantainer report to browser and a
new url is displayed..so objects which are stored in
request is lost..
URL rewriting is technique of session tracking.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is life cycle of Servlet?
What is the need of servlet filters?
What do you mean by cgi in servlet?
Which java application server is the best?
What are the annotations used in servlet 3?
What are the steps that are required to handle the multi-threading?
Whether we can get deadlock situation in servlets?
How many servlet objects are created?
What is the difference between the http servlet and generic servlet?
How can the session in servlet be destroyed?
Which event is fired at the time of session creation and destroy?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is load-on-startup in servlet?
How we can get ip address of client in servlet?
List out difference between a JavaBean from a Servlet?