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 setattribute in servlet?
What is the default http method in the servlet?
What is the difference between forward () and sendredirect () functions in servlet? Explain
Which java framework is most popular?
What's the advantages using servlets than using cgi?
What is servlet used for?
What mechanisms are used by a Servlet Container to maintain session information?
What is the use of httpservletresponsewrapper?
Define servlet mapping?
What is the difference between the http servlet and generic servlet?
What must be implemented by all servlets?
How can we implement a jsp page?
Explain the steps involved in placing a servlet within a package?
Can we get PrintWriter and ServletOutputStream both in a servlet?
Why do we have servlet filters?