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 the difference between servlet and jsp?
Difference between get and post in java servlets?
What is cgi?
What are Servlets?
Why is init() method is used in servlets?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is load-on-startup in servlet?
What do you mean by cgi and what are its drawbacks?
Can filter be used as request or response?
Define the life cycle of a servlets.
What are the mechanisms used by a servlet container for maintaining session information?
How we can get ip address of client in servlet?
How do servlets work?
What do you mean by deployment descriptor?
What is dispatcher servlet?